diff options
author | Artem Belevich <tra@google.com> | 2016-06-13 18:44:22 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2016-06-13 18:44:22 +0000 |
commit | 55559595b273d87c11951b14f051dddb14cb5939 (patch) | |
tree | 1e41a1b9182037a365a634c26fe9fe77d29f10e8 | |
parent | 4d09f68d2c3ae70ad0131bd59aecdfaedfc8189f (diff) |
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
-rw-r--r-- | test/CodeGen/bitscan-builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]] } |