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
|
// LLVM should be able to optimize multiple .provide_* calls into a switch table
|
||||||
// and eliminate redundant ones, rather than compare one-by-one.
|
// 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-COUNT-3: i64 {{.*}}, label %{{.*}}
|
||||||
// CHECK-NEXT: ]
|
// CHECK-NEXT: ]
|
||||||
request
|
request
|
||||||
|
Loading…
Reference in New Issue
Block a user