[X86][BMI][TBM] Only demand bottom 16-bits of the BEXTR control op (PR34042)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Jun 2018 10:52:10 +0000 (10:52 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Jun 2018 10:52:10 +0000 (10:52 +0000)
commit3d1415889103642e9c6cc943345d36ac53886337
tree5319697ab7f46666303b34d4a97f352cbeb22f41
parent1b8bfd7e7d63704eb665922d331c7317ae8b1786
[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
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86IntrinsicsInfo.h
llvm/test/CodeGen/X86/bmi-x86_64.ll
llvm/test/CodeGen/X86/bmi.ll
llvm/test/CodeGen/X86/tbm-intrinsics-x86_64.ll