test/CodeGen: Don't rely on a value's number in check lines
The tests in r215568 hard code a value as %0 in their checks. This isn't correct in asserts builds. llvm-svn: 215585
This commit is contained in:
parent
a5b083853c
commit
5ea05aed15
|
@ -69,11 +69,12 @@ unsigned rbit(unsigned a) {
|
|||
|
||||
void prefetch(int i) {
|
||||
__builtin_arm_prefetch(&i, 0, 1);
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %0, i32 0, i32 3, i32 1)
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %{{.*}}, i32 0, i32 3, i32 1)
|
||||
|
||||
__builtin_arm_prefetch(&i, 1, 1);
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %0, i32 1, i32 3, i32 1)
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %{{.*}}, i32 1, i32 3, i32 1)
|
||||
|
||||
|
||||
__builtin_arm_prefetch(&i, 1, 0);
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %0, i32 1, i32 3, i32 0)
|
||||
// CHECK: call {{.*}} @llvm.prefetch(i8* %{{.*}}, i32 1, i32 3, i32 0)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue