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 | 6530a3e73f2711f086570bdf926335a5ce57182a (patch) | |
| tree | 3e03ad346bf69968352c9d44fcf9299df7b32f58 /clang | |
| parent | cb07d65173a4271c08f80a159b02354fe6e8894b (diff) | |
| download | bcm5719-llvm-6530a3e73f2711f086570bdf926335a5ce57182a.tar.gz bcm5719-llvm-6530a3e73f2711f086570bdf926335a5ce57182a.zip | |
Test fix -- use captured call result instead of hardcoded %2.
llvm-svn: 272573
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGen/bitscan-builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/bitscan-builtins.c b/clang/test/CodeGen/bitscan-builtins.c index 451e8f4570c..ae817e81574 100644 --- a/clang/test/CodeGen/bitscan-builtins.c +++ b/clang/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]] } |

