summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/bmi.ll
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-06 10:52:10 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-06-06 10:52:10 +0000
commit3d1415889103642e9c6cc943345d36ac53886337 (patch)
tree5319697ab7f46666303b34d4a97f352cbeb22f41 /llvm/test/CodeGen/X86/bmi.ll
parent1b8bfd7e7d63704eb665922d331c7317ae8b1786 (diff)
downloadbcm5719-llvm-3d1415889103642e9c6cc943345d36ac53886337.tar.gz
bcm5719-llvm-3d1415889103642e9c6cc943345d36ac53886337.zip
[X86][BMI][TBM] Only demand bottom 16-bits of the BEXTR control op (PR34042)
Only the bottom 16-bits of BEXTR's control op are required (0:8 INDEX, 15:8 LENGTH). Differential Revision: https://reviews.llvm.org/D47690 llvm-svn: 334083
Diffstat (limited to 'llvm/test/CodeGen/X86/bmi.ll')
-rw-r--r--llvm/test/CodeGen/X86/bmi.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/bmi.ll b/llvm/test/CodeGen/X86/bmi.ll
index 40e4c66959b..5ec2da420c4 100644
--- a/llvm/test/CodeGen/X86/bmi.ll
+++ b/llvm/test/CodeGen/X86/bmi.ll
@@ -404,8 +404,7 @@ define i32 @bextr32c(i32 %x, i16 zeroext %y) {
;
; X64-LABEL: bextr32c:
; X64: # %bb.0:
-; X64-NEXT: movswl %si, %eax
-; X64-NEXT: bextrl %eax, %edi, %eax
+; X64-NEXT: bextrl %esi, %edi, %eax
; X64-NEXT: retq
%tmp0 = sext i16 %y to i32
%tmp1 = tail call i32 @llvm.x86.bmi.bextr.32(i32 %x, i32 %tmp0)
OpenPOWER on IntegriCloud