1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/Transforms
Philip Reames 718aae50fc [LV] Fix bug when unrolling (only) a loop with non-latch exit
If we unroll a loop in the vectorizer (without vectorizing), and the cost model requires a epilogue be generated for correctness, the code generation must actually do so.

The included test case on an unmodified opt will access memory one past the expected bound.  As a result, this patch is fixing a latent miscompile.

Differential Revision: https://reviews.llvm.org/D103700
2021-06-29 08:04:26 -07:00
..
AggressiveInstCombine [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
CFGuard
Coroutines [coro] Fix rematerializable instruction sinking to coro.suspend blocks 2021-06-28 09:37:45 -07:00
Hello
InstCombine [InstCombine] Gracefully handle an alloca outside the alloca-AS 2021-06-29 09:38:13 -05:00
Instrumentation [SanitizerCoverage] Support opaque pointers 2021-06-28 22:18:42 +02:00
IPO [Attributor][NFCI] Make the state of AAValueSimplify explicit 2021-06-29 09:38:22 -05:00
ObjCARC [NFC][AA] Prepare to convert AliasResult to class with PartialAlias offset. 2021-04-09 12:54:22 +03:00
Scalar [InferAddressSpaces] NFC: For noop IntToPtr/PtrToInt pair cast to operator instead of PtrToInt 2021-06-28 19:24:26 +05:30
Utils Revert "[DebugInfo] Enable variadic debug value salvaging" 2021-06-28 11:25:09 -04:00
Vectorize [LV] Fix bug when unrolling (only) a loop with non-latch exit 2021-06-29 08:04:26 -07:00
CMakeLists.txt