From 55559595b273d87c11951b14f051dddb14cb5939 Mon Sep 17 00:00:00 2001 From: Artem Belevich <tra@google.com> Date: Mon, 13 Jun 2016 18:44:22 +0000 Subject: [PATCH] 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 --- test/CodeGen/bitscan-builtins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/bitscan-builtins.c b/test/CodeGen/bitscan-builtins.c index 451e8f4570c..ae817e81574 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]] } -- GitLab