Move matching for x86 BMI BLSI/BLSMSK/BLSR instructions to isel patterns instead...
authorCraig Topper <craig.topper@gmail.com>
Wed, 5 Feb 2014 07:09:40 +0000 (07:09 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 5 Feb 2014 07:09:40 +0000 (07:09 +0000)
commit0e8eceffbfd76131117349ff26ce7fd0641614d5
tree89d69ed1d999623e92bf5c2abbd0a7602a5dcb24
parent002683abc710f7fcaf921ac62fcb44e5b043362c
Move matching for x86 BMI BLSI/BLSMSK/BLSR instructions to isel patterns instead of DAG combine. This weakens the ability to fold loads with them because we aren't able to match patterns that load the same thing twice. But maybe we should fix that if we care. The peephole optimizer will be able to fold some loads in its absense.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200824 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrInfo.td