Weaken test/Profile/c-ternary.c

There is a bot which doesn't use '%1' as the IR name of the first
argument to a function:

http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/2050/steps/test-stage1-compiler/logs/stdio

llvm-svn: 296248
This commit is contained in:
Vedant Kumar 2017-02-25 07:21:23 +00:00
parent 3ec213e05c
commit dcfe34e667
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
// condition when the condition evaluates to true.
// CHECK-LABEL: define i32 @f1
int f1(int x) {
// CHECK: [[TOBOOL:%.*]] = icmp ne i32 %1, 0
// CHECK: [[TOBOOL:%.*]] = icmp ne i32 %{{.*}}, 0
// CHECK-NEXT: [[STEP:%.*]] = zext i1 [[TOBOOL]] to i64
// CHECK-NEXT: [[COUNTER:%.*]] = load i64, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @__profc_f1, i64 0, i64 1)
// CHECK-NEXT: add i64 [[COUNTER]], [[STEP]]