1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/Transforms
Sanjay Patel b92c9f9565 [DivRemPairs] make sure we have a valid CFG for hoisting division
This transform was added with e38b7e894808ec2
and as shown in:
https://llvm.org/PR51241
...it could crash without an extra check of the blocks.

There might be a more compact way to write this constraint,
but we can't just count the successors/predecessors without
affecting a test that includes a switch instruction.

(cherry picked from commit 5b83261c1518a39636abe094123f1704bbfd972f)
2021-08-02 13:52:37 -07:00
..
AggressiveInstCombine [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
CFGuard
Coroutines [Coroutine] Record the elided coroutines 2021-07-27 13:14:09 +08:00
Hello
InstCombine Enabling the copy-constant-to-alloca optimization in more instances 2021-07-27 10:11:43 -07:00
Instrumentation [ASAN] NFC: Remove redundant variable 2021-07-27 12:02:37 -07:00
IPO [OpenMP] Folding threadLimit and numThreads when single value in kernels 2021-07-27 21:47:12 -04:00
ObjCARC [ObjC][ARC] Prevent moving objc_retain calls past objc_release calls 2021-07-05 12:16:15 -07:00
Scalar [DivRemPairs] make sure we have a valid CFG for hoisting division 2021-08-02 13:52:37 -07:00
Utils Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR" 2021-07-29 00:04:50 +01:00
Vectorize [LoopVectorize] Don't interleave scalar ordered reductions for inner loops 2021-07-27 17:41:01 +01:00
CMakeLists.txt