Test fix -- use captured call result instead of hardcoded %2.

llvm-svn: 272573
This commit is contained in:
Artem Belevich 2016-06-13 18:44:22 +00:00
parent cb07d65173
commit 6530a3e73f
1 changed files with 1 additions and 1 deletions

View File

@ -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]]
}