File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/test/CodeGen/AMDGPU/GlobalISel Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ define amdgpu_kernel void @bad_output() {
1414
1515; CHECK: error: invalid constraint '{s998}': could not allocate input register for register constraint
1616define amdgpu_kernel void @bad_input () {
17- tail call void asm sideeffect "s_nop" , "{s998}" (i32 undef )
17+ tail call void asm sideeffect "s_nop" , "{s998}" (i32 poison )
1818 ret void
1919}
2020; CHECK: error: invalid constraint '{s997}': indirect register inputs are not supported yet
2121define amdgpu_kernel void @indirect_input () {
22- tail call void asm sideeffect "s_nop" , "*{s997}" (ptr elementtype(i32 ) undef )
22+ tail call void asm sideeffect "s_nop" , "*{s997}" (ptr elementtype(i32 ) poison )
2323 ret void
2424}
2525
2626; CHECK: error: invalid constraint 'i': unsupported constraint
2727define amdgpu_kernel void @badimm () {
28- tail call void asm sideeffect "s_nop" , "i" (i32 undef )
28+ tail call void asm sideeffect "s_nop" , "i" (i32 poison )
2929 ret
3030 void
3131}
You can’t perform that action at this time.
0 commit comments