Skip to content

Commit

Permalink
Apply suggestion.
Browse files Browse the repository at this point in the history
Co-authored-by: Jubilee <[email protected]>
  • Loading branch information
slanterns and workingjubilee authored Jun 16, 2024
1 parent 2404783 commit 20b69a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/codegen/error-provide.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ impl std::error::Error for MyError {
// LLVM should be able to optimize multiple .provide_* calls into a switch table
// and eliminate redundant ones, rather than compare one-by-one.

// CHECK: switch i64 %{{.*}}, label %{{.*}} [
// CHECK-NEXT: %[[SCRUTINEE:[^ ]+]] = load i64, ptr
// CHECK-NEXT: switch i64 %[[SCRUTINEE]], label %{{.*}} [
// CHECK-COUNT-3: i64 {{.*}}, label %{{.*}}
// CHECK-NEXT: ]
request
Expand Down

0 comments on commit 20b69a5

Please sign in to comment.