1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/lib/Transforms
Ta-Wei Tu df760e157d [LoopInterchange] Replace tightly-nesting-ness check with the one from LoopNest
The check `tightlyNested()` in `LoopInterchange` is similar to the one in `LoopNest`.
In fact, the former misses some cases where loop-interchange is not feasible and results in incorrect behaviour.
Replacing it with the much robust version provided by `LoopNest` reduces code duplications and fixes https://bugs.llvm.org/show_bug.cgi?id=48113.

`LoopInterchange` has a weaker definition of tightly or perfectly nesting-ness than the one implemented in `LoopNest::arePerfectlyNested()`.
Therefore, `tightlyNested()` is instead implemented with `LoopNest::checkLoopsStructure` and additional checks for unsafe instructions.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D97290
2021-03-08 11:36:08 +08:00
..
AggressiveInstCombine
CFGuard
Coroutines Improve the debug info for coro-split .resume functions 2021-03-04 11:05:35 -08:00
Hello
InstCombine [InstCombine] Add simplification of two logical and/ors 2021-03-08 02:38:43 +09:00
Instrumentation [dfsan] Propagate origin tracking at store 2021-03-04 23:34:44 +00:00
IPO [FunctionImport] Delete unneeded setLive. NFC 2021-03-06 14:09:54 -08:00
ObjCARC Move llvm/Analysis/ObjCARCUtil.h to IR to fix layering. 2021-03-04 16:14:53 -08:00
Scalar [LoopInterchange] Replace tightly-nesting-ness check with the one from LoopNest 2021-03-08 11:36:08 +08:00
Utils Revert "[SimplifyCFG] Update FoldBranchToCommonDest to be poison-safe" 2021-03-08 00:15:47 +00:00
Vectorize [VPlan] Support to widen call intructions in VPlan native path 2021-03-06 21:59:52 +00:00
CMakeLists.txt [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00