llvm-project/llvm/test/Transforms/LoopDeletion
Florian Hahn 16cf666bb7
[Loop] Move block and loop dispo invalidation to makeLoopInvariant.
makeLoopInvariant may recursively move its operands to make them
invariant, before moving the passed in instruction. Those recursively
moved instructions are currently missed when invalidating block and loop
dispositions.

To address this, move the invalidation code to Loop::makeLoopInvariant.

Fixes #58314.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D135909
2022-10-14 21:58:14 +01:00
..
2007-07-23-InfiniteLoop.ll
2008-05-06-Phi.ll
2011-06-21-phioperands.ll
2017-07-11-incremental-dt.ll
D108848-regression.ll
assume.ll
basic-remark.ll
bbi-59728.ll
blockaddress.ll
crashbc.ll
dcetest.ll
diundef.ll
eval_first_iteration.ll
invalidate-scev-after-hoisting.ll [Loop] Move block and loop dispo invalidation to makeLoopInvariant. 2022-10-14 21:58:14 +01:00
invalidation.ll
irreducible-cfg.ll
loops-with-irreducible-subloops.ll
multiple-exit-conditions.ll
multiple-exits.ll
mustprogress.ll
no-exit-blocks.ll
noop-loops-with-subloops.ll
pr49967.ll [test] Update some legacy PM tests 2022-09-30 11:31:02 -07:00
pr53969.ll [IndVars] Simplify instructions after replacing header phi with preheader value 2022-07-13 10:27:04 +02:00
pr56266.ll [LoopDeletion] Fix deletion with unusual predecessor terminator (PR56266) 2022-07-01 16:13:35 +02:00
simplify-then-delete.ll
switch.ll
two-predecessors.ll [IR] Don't treat callbr as indirect terminator 2022-07-18 09:32:08 +02:00
unreachable-loops.ll [NFC] Switch a few uses of undef to poison as placeholders for unreachble code 2022-06-30 21:47:31 +01:00
update-scev.ll [NFC] Switch a few uses of undef to poison as placeholders for unreachble code 2022-06-30 21:47:31 +01:00
use-in-unreachable.ll [NFC] Switch a few uses of undef to poison as placeholders for unreachable code 2022-07-23 21:50:11 +01:00
zero-btc.ll