Apply suggestion.

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
Slanterns 2024-06-16 15:56:13 +08:00
parent 240478383b
commit 51d9546416
No known key found for this signature in database
GPG key ID: 1AA37EE7FAAE433A

View file

@ -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