summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-25 07:21:23 +0000
committerVedant Kumar <vsk@apple.com>2017-02-25 07:21:23 +0000
commit8e2e88f063bfae95e3be980dbf26473d5a086d27 (patch)
tree2a577474696db720b1dbd2aedae7e2a358fbec66
parent950610f50f3c72a2232e81a4adb4e8c740b03525 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296248 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Profile/c-ternary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Profile/c-ternary.c b/test/Profile/c-ternary.c
index 09e8329235..af7922fa26 100644
--- a/test/Profile/c-ternary.c
+++ b/test/Profile/c-ternary.c
@@ -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]]