[Tests] Add tests for a possible loop predication transform variant
authorPhilip Reames <listmail@philipreames.com>
Mon, 1 Apr 2019 15:32:07 +0000 (15:32 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 1 Apr 2019 15:32:07 +0000 (15:32 +0000)
commit9ef7708bbbf679d08bd32097f1228be40a54f3b5
tree335bd5176189ddd9346c4ebff2cb78f1f898a648
parent410f32ce7c69be70c7c13a52b875abd4a844d5d3
[Tests] Add tests for a possible loop predication transform variant

As highlighted by tests, if one of the operands is loop variant, but guaranteed to have the same value on all iterations, we have a missed oppurtunity.

llvm-svn: 357403
llvm/test/Transforms/LoopPredication/invariant_load.ll [new file with mode: 0644]