]> granicus.if.org Git - clang/commitdiff
Weaken test/Profile/c-ternary.c
authorVedant Kumar <vsk@apple.com>
Sat, 25 Feb 2017 07:21:23 +0000 (07:21 +0000)
committerVedant Kumar <vsk@apple.com>
Sat, 25 Feb 2017 07:21:23 +0000 (07:21 +0000)
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

test/Profile/c-ternary.c

index 09e83292352f323c6af4fb4ced404466573144cc..af7922fa26fa00f98320a305e0c82f53c9f89251 100644 (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]]