[Test] Add tests with range checks with known constant ranges
authorDmitry Makogon <d.makogon@g.nsu.ru>
Tue, 8 Nov 2022 10:56:19 +0000 (17:56 +0700)
committerDmitry Makogon <d.makogon@g.nsu.ru>
Tue, 8 Nov 2022 11:54:43 +0000 (18:54 +0700)
commit4b0fd43512acaf7e167a27fb143f679775e09247
tree03c885e302b55f58de17f7aa63f7576695a65823
parent69dd9910c7e78d5931c0ae31c97df37d3724e59b
[Test] Add tests with range checks with known constant ranges

LoopPredication might be able to turn such checks (which are
not necessarily are done on IV) into loop invariant checks.
llvm/test/Transforms/LoopPredication/constant-ranges.ll [new file with mode: 0644]