Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6d74e09

Browse files
committed
Added comment on there being no predefined registers
1 parent 1070f08 commit 6d74e09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_target/asm/nvptx.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ impl NvptxInlineAsmRegClass {
4343
}
4444

4545
def_regs! {
46+
// Registers in PTX are declared in the assembly.
47+
// There are no predefined registers that one can use.
4648
Nvptx NvptxInlineAsmReg NvptxInlineAsmRegClass {}
4749
}

0 commit comments

Comments
 (0)