Revert r174152. The shift amount may overflow and in that case this transformation...
authorNadav Rotem <nrotem@apple.com>
Fri, 1 Feb 2013 07:59:33 +0000 (07:59 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 1 Feb 2013 07:59:33 +0000 (07:59 +0000)
commit36146afb9676a81866acff882f76661891af3f3b
tree8adea7e92b56f2f4dcf06fe93d923c9caa461b58
parentd5eb1cbee55b60dd7a5745f47c0b46a3a0b952e3
Revert r174152. The shift amount may overflow and in that case this transformation is illegal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174156 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/shift.ll