1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm/Transforms
Ta-Wei Tu 67639b9007 [NPM] Properly reset parent loop after loop passes
This fixes https://bugs.llvm.org/show_bug.cgi?id=49185

When `NDEBUG` is not set, `LPMUpdater` checks if the added loops have the same parent loop as the current one in `addSiblingLoops`.
If multiple loop passes are executed through `LoopPassManager`, `U.ParentL` will be the same across all passes.
However, the parent loop might change after running a loop pass, resulting in assertion failures in subsequent passes.

This patch resets `U.ParentL` after running individual loop passes in `LoopPassManager`.

Reviewed By: asbirlea, ychen

Differential Revision: https://reviews.llvm.org/D96727
2021-02-19 02:50:53 +08:00
..
AggressiveInstCombine [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Coroutines [Coroutines] Remove unused includes. NFC. 2020-09-28 10:27:23 +02:00
InstCombine [NFC][InstCombine] Extract freelyInvertAllUsersOf() out of canonicalizeICmpPredicate() 2021-01-22 17:23:53 +03:00
Instrumentation [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
IPO [CSSPGO] Process functions in a top-down order on a dynamic call graph. 2021-02-11 12:36:59 -08:00
Scalar [NPM] Properly reset parent loop after loop passes 2021-02-19 02:50:53 +08:00
Utils Revert "[Debugify] Make the debugify aware of the original (-g) Debug Info" 2021-02-18 02:04:27 -08:00
Vectorize [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
CFGuard.h Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
Coroutines.h [Coroutines] Reuse storage for local variables with non-overlapping lifetimes 2020-09-28 15:48:00 +08:00
Instrumentation.h Revert "[InstrProfiling] Use !associated metadata for counters, data and values" 2021-02-03 19:14:34 -05:00
IPO.h [IRSim][IROutliner] Adding the extraction basics for the IROutliner. 2020-12-17 11:27:26 -06:00
ObjCARC.h [NewPM] Run ObjC ARC passes 2021-01-08 15:47:11 -08:00
Scalar.h [Passes] Run peeling as part of simple/full loop unrolling. 2021-01-26 13:52:30 +00:00
Utils.h [NPM] Port strip nonlinetable debuginfo pass to the new pass manager 2020-10-07 14:35:36 -07:00
Vectorize.h [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00