Skip to content
Snippets Groups Projects
Commit 55559595 authored by Artem Belevich's avatar Artem Belevich
Browse files

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
parent 4d09f68d
No related branches found
No related tags found
No related merge requests found
......@@ -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]]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment