Revert 209903 and 210040.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 7 Jun 2014 04:12:35 +0000 (04:12 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 7 Jun 2014 04:12:35 +0000 (04:12 +0000)
commit4ba22f08133c0a5dbccaa6a442219693c1d677f0
tree1a1055660276083d7d4337c4c5590d1b654207b3
parent553aa7b54276216e8c5b1cdd98488b7d559db0f2
Revert 209903 and 210040.

The messages were

 "PR19753: Optimize comparisons with "ashr exact" of a constanst."
 "Added support to optimize comparisons with "lshr exact" of a constant."

They were not correctly handling signed/unsigned operation differences,
causing pr19958.

llvm-svn: 210393
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp.ll