Skip to content

Commit 51d9546

Browse files
Apply suggestion.
Co-authored-by: Jubilee <[email protected]>
1 parent 2404783 commit 51d9546

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/codegen/error-provide.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ impl std::error::Error for MyError {
3636
// LLVM should be able to optimize multiple .provide_* calls into a switch table
3737
// and eliminate redundant ones, rather than compare one-by-one.
3838

39-
// CHECK: switch i64 %{{.*}}, label %{{.*}} [
39+
// CHECK-NEXT: start:
40+
// CHECK-NEXT: %[[SCRUTINEE:[^ ]+]] = load i64, ptr
41+
// CHECK-NEXT: switch i64 %[[SCRUTINEE]], label %{{.*}} [
4042
// CHECK-COUNT-3: i64 {{.*}}, label %{{.*}}
4143
// CHECK-NEXT: ]
4244
request

0 commit comments

Comments
 (0)