[InstCombine] add tests for icmp-gep; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 28 Sep 2021 13:56:28 +0000 (09:56 -0400)
committerSanjay Patel <spatel@rotateright.com>
Tue, 28 Sep 2021 14:00:35 +0000 (10:00 -0400)
commit1a1aed8da8c19fd58a7208be9ab5bf185474392b
tree737839ec0af2364238b442d98993a920306d8a63
parent2c53215e99cbd7b24768d9f0915aff9fedfcaa4a
[InstCombine] add tests for icmp-gep; NFC

We need more coverage for commuted and (un)signed preds to
verify that things behave as expected here. Currently, we
do not transform signed preds or non-inbounds geps.
llvm/test/Transforms/InstCombine/icmp-gep.ll