OSDN Git Service

[InstCombine] add tests for shl nsw + icmp sle; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 17 Jan 2017 20:15:26 +0000 (20:15 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 17 Jan 2017 20:15:26 +0000 (20:15 +0000)
commite9d3b46a1df82f6d7dde01be7bfdcab04e58a994
tree6018c98e2d7ea4d0e21ef1a625914fe7a459d829
parentbf5fc97eca006abbd8e099345b013b8ad10a59ea
[InstCombine] add tests for shl nsw + icmp sle; NFC

We want to handle these cases similarly to icmp sgt, so add the tests for it.
See: https://reviews.llvm.org/D28406

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292248 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/icmp-shl-nsw.ll