[InstCombine] remove one-use restriction for icmp (shr exact X, C1), C2 --> icmp...
authorSanjay Patel <spatel@rotateright.com>
Mon, 2 Oct 2017 18:26:44 +0000 (18:26 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 2 Oct 2017 18:26:44 +0000 (18:26 +0000)
commit6e17c00a88e23d0cc4cb491bfd0830f3df7fff66
treee5852b515ab71642c7f1320a77c8ceb84ee893a9
parentacdf91817ee881d28f6d00245e041947a45eb1a4
[InstCombine] remove one-use restriction for icmp (shr exact X, C1), C2 --> icmp X, (C2<<C1)

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