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)
commitd0700b29195b72c3af8dc8f05dfb6ed04ca3e907
treec0750c870807f77dd1f7e56b2d811900e3f5b33d
parent2c8dda4e53a305566bfd92967166ffe68d53851b
X86: Don't turn shifts into ands if there's another use that may not check for equality.

Fixes PR19964.

llvm-svn: 210371
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/cmp.ll