OSDN Git Service

[InstCombine] Add new tests in preparation for a combine of icmp (mul nsw/nuw X,...
authorNicola Zaghen <nicola.zaghen@imgtec.com>
Thu, 27 Sep 2018 10:08:38 +0000 (10:08 +0000)
committerNicola Zaghen <nicola.zaghen@imgtec.com>
Thu, 27 Sep 2018 10:08:38 +0000 (10:08 +0000)
commitc335565127ddd0ee663f7b9066a303d66e6fe7b2
treeecc0485e79ed26e6e87d162a67a5f0541c78da5c
parent8056d4002ab1829da292f7be61e3bb0d58517a5d
[InstCombine] Add new tests in preparation for a combine of icmp (mul nsw/nuw X, C2), C

Proof for the future optimisations are here:
- eq/neq: https://rise4fun.com/Alive/9PBA
- sgt/ugt: https://rise4fun.com/Alive/58yr
- slt/ult: https://rise4fun.com/Alive/VCQ

Differential Revision: https://reviews.llvm.org/D51625

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343190 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/icmp-mul.ll [new file with mode: 0644]