Author: vedantk Date: Sat Feb 25 01:21:23 2017 New Revision: 296248 URL: http://llvm.org/viewvc/llvm-project?rev=296248&view=rev Log: 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 Modified: cfe/trunk/test/Profile/c-ternary.c Modified: cfe/trunk/test/Profile/c-ternary.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Profile/c-ternary.c?rev=296248&r1=296247&r2=296248&view=diff ============================================================================== --- cfe/trunk/test/Profile/c-ternary.c (original) +++ cfe/trunk/test/Profile/c-ternary.c Sat Feb 25 01:21:23 2017 @@ -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]] _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits