Skip to content

Commit a4bfb75

Browse files
committed
Try again
1 parent f1b90a3 commit a4bfb75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/codegen/try_question_mark_nop.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ pub fn option_nop_match_32(x: Option<u32>) -> Option<u32> {
3737
pub fn option_nop_traits_32(x: Option<u32>) -> Option<u32> {
3838
// CHECK: start:
3939
// CHECK-NEXT: %[[IS_SOME:.+]] = trunc nuw i32 %0 to i1
40-
// CHECK-NEXT: select i1 %[[IS_SOME]], i32 %1, i32 undef
40+
// NINETEEN-NEXT: select i1 %[[IS_SOME]], i32 %0, i32 0
41+
// TWENTY-NEXT: select i1 %[[IS_SOME]], i32 %1, i32 undef
4142
// CHECK-NEXT: insertvalue { i32, i32 }
4243
// CHECK-NEXT: insertvalue { i32, i32 }
4344
// CHECK-NEXT: ret { i32, i32 }

0 commit comments

Comments
 (0)