From: Artem Belevich Date: Mon, 13 Jun 2016 18:44:22 +0000 (+0000) Subject: Test fix -- use captured call result instead of hardcoded %2. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55559595b273d87c11951b14f051dddb14cb5939;p=clang Test fix -- use captured call result instead of hardcoded %2. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272573 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/bitscan-builtins.c b/test/CodeGen/bitscan-builtins.c index 451e8f4570..ae817e8157 100644 --- a/test/CodeGen/bitscan-builtins.c +++ b/test/CodeGen/bitscan-builtins.c @@ -14,6 +14,6 @@ int test_bit_scan_forward(int a) { int test_bit_scan_reverse(int a) { return _bit_scan_reverse(a); // CHECK: %[[call:.*]] = call i32 @llvm.ctlz.i32( -// CHECK: %[[sub:.*]] = sub nsw i32 31, %2 +// CHECK: %[[sub:.*]] = sub nsw i32 31, %[[call]] // CHECK: ret i32 %[[sub]] }