Skip to content

[NVPTX] Test SM Versions via ptxas #137028

Open
@justinfargnoli

Description

@justinfargnoli

llvm/test/CodeGen/NVPTX/sm-version.ll checks that the PTX and SM versions are supported by llc. However, we should also check that they're supported in ptxas.

Here's an example of how to run a test with ptxas: (source)

; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehttps://github.com/llvm/llvm-project/contribute

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions