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
commitdcfe34e6672f2fbe10046e798772ec317902670b (patch)
tree3a6315717b2301353d3c42746baadaf7f6ddb6b1
parent3ec213e05c8c1fd14c7b1cae674e966b163c23e2 (diff)
downloadbcm5719-llvm-dcfe34e6672f2fbe10046e798772ec317902670b.tar.gz
bcm5719-llvm-dcfe34e6672f2fbe10046e798772ec317902670b.zip
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
-rw-r--r--clang/test/Profile/c-ternary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Profile/c-ternary.c b/clang/test/Profile/c-ternary.c
index 09e83292352..af7922fa26f 100644
--- a/clang/test/Profile/c-ternary.c
+++ b/clang/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]]
OpenPOWER on IntegriCloud