14 lines · plain
1; RUN: llc < %s -march=nvptx64 -mcpu=sm_100a -mattr=+ptx86 | FileCheck --check-prefixes=CHECK %s2; RUN: %if ptxas-sm_100a && ptxas-isa-8.6 %{ llc < %s -march=nvptx64 -mcpu=sm_100a -mattr=+ptx86 | %ptxas-verify -arch=sm_100a %}3 4; CHECK-LABEL: test_set_maxn_reg_sm100a5define void @test_set_maxn_reg_sm100a() {6 ; CHECK: setmaxnreg.inc.sync.aligned.u32 96;7 call void @llvm.nvvm.setmaxnreg.inc.sync.aligned.u32(i32 96)8 9 ; CHECK: setmaxnreg.dec.sync.aligned.u32 64;10 call void @llvm.nvvm.setmaxnreg.dec.sync.aligned.u32(i32 64)11 12 ret void13}14