Skip to content

Commit b9c9e1e

Browse files
committed
undef -> poison
1 parent 4ffeb79 commit b9c9e1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm-lowering-errors.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1616
define 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
2121
define 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
2727
define 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
}

0 commit comments

Comments
 (0)