For PR1271:
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 21:11:44 +0000 (21:11 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 21:11:44 +0000 (21:11 +0000)
commit55702aaa52a7b6d3f4b7b13a079517500b9c2b5c
treeb5cbcf35c89a6c03ab45094f5a29b984050a6da9
parentdb9654e284a8493db7ddf66ddd0c089d1eff7b85
For PR1271:
Remove a use of getLowBitsSet that caused the mask used for replacement of
shl/lshr pairs with an AND instruction to be computed incorrectly. Its not
clear exactly why this is the case. This solves the disappearing shifts
problem, but it doesn't fix Regression/C/2003-05-21-UnionBitFields. It
seems there is more going on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35342 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp