We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b90a3 commit a4bfb75Copy full SHA for a4bfb75
tests/codegen/try_question_mark_nop.rs
@@ -37,7 +37,8 @@ pub fn option_nop_match_32(x: Option<u32>) -> Option<u32> {
37
pub fn option_nop_traits_32(x: Option<u32>) -> Option<u32> {
38
// CHECK: start:
39
// CHECK-NEXT: %[[IS_SOME:.+]] = trunc nuw i32 %0 to i1
40
- // CHECK-NEXT: select i1 %[[IS_SOME]], i32 %1, i32 undef
+ // NINETEEN-NEXT: select i1 %[[IS_SOME]], i32 %0, i32 0
41
+ // TWENTY-NEXT: select i1 %[[IS_SOME]], i32 %1, i32 undef
42
// CHECK-NEXT: insertvalue { i32, i32 }
43
44
// CHECK-NEXT: ret { i32, i32 }
0 commit comments