mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
Apply suggestion.
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
parent
240478383b
commit
51d9546416
|
@ -36,7 +36,9 @@ fn provide<'a>(&'a self, request: &mut Request<'a>) {
|
|||
// 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: start:
|
||||
// CHECK-NEXT: %[[SCRUTINEE:[^ ]+]] = load i64, ptr
|
||||
// CHECK-NEXT: switch i64 %[[SCRUTINEE]], label %{{.*}} [
|
||||
// CHECK-COUNT-3: i64 {{.*}}, label %{{.*}}
|
||||
// CHECK-NEXT: ]
|
||||
request
|
||||
|
|
Loading…
Reference in a new issue