summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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