X86: Don't turn shifts into ands if there's another use that may not check for equality.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Jun 2014 21:08:55 +0000 (21:08 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Jun 2014 21:08:55 +0000 (21:08 +0000)
commit0da5960e5b7473b97fbb891e0b2761d3012ba724
tree3bf2471d1ba6ca1ab3520da28d5fd2242e2dcce8
parent013321a0f9e9f784ebb9a78ebf19e5f5099d5b16
X86: Don't turn shifts into ands if there's another use that may not check for equality.

Fixes PR19964.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/cmp.ll