diff options
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/bitscan.ll | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/CodeGen/X86/bitscan.ll b/llvm/test/CodeGen/X86/bitscan.ll deleted file mode 100644 index 52829a642e1..00000000000 --- a/llvm/test/CodeGen/X86/bitscan.ll +++ /dev/null @@ -1,23 +0,0 @@ -; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=corei7 | FileCheck %s --check-prefix=ALL --check-prefix=64-BIT -; RUN: llc < %s -mtriple=i386-unknown-unknown -mcpu=corei7 | FileCheck %s --check-prefix=ALL --check-prefix=32-BIT -declare i32 @llvm.x86.bit.scan.forward.32(i32 %val) -declare i32 @llvm.x86.bit.scan.reverse.32(i32 %val) - -define i32 @test_bsf(i32 %val) { - %call = call i32 @llvm.x86.bit.scan.forward.32(i32 %val) - ret i32 %call - -; ALL-LABEL: test_bsf: -; 64-BIT: bsfl %edi, %eax -; 32-BIT: bsfl 4(%esp), %eax -} - -define i32 @test_bsr(i32 %val) { - %call = call i32 @llvm.x86.bit.scan.reverse.32(i32 %val) - ret i32 %call - -; ALL-LABEL: test_bsr: -; 64-BIT: bsrl %edi, %eax -; 32-BIT: bsrl 4(%esp), %eax -} - |

