Skip to content

Commit 92ebdb0

Browse files
committed
Use poison instead of undef
1 parent 75a2934 commit 92ebdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/SPIRV/inline/type.undef.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ define %int_t @foo() {
1313
entry:
1414
; CHECK-DAG: [[undef:%[0-9]+]] = OpUndef [[int_t]]
1515
; CHECK-DAG: OpReturnValue [[undef]]
16-
ret %int_t undef
16+
ret %int_t poison
1717
}

0 commit comments

Comments
 (0)