mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f15980df02
This patch fixes the miscompile that happens when PRE hoists loads across guards and other instructions that don't always pass control flow to their successors. PRE is now prohibited to hoist across such instructions because there is no guarantee that the load standing after such instruction is still valid before such instruction. For example, a load from under a guard may be invalid before the guard in the following case: int array[LEN]; ... guard(0 <= index && index < LEN); use(array[index]); Differential Revision: https://reviews.llvm.org/D37460 llvm-svn: 315440 |
||
---|---|---|
.. | ||
InstCombine | ||
IPO | ||
Scalar | ||
Utils | ||
Vectorize | ||
Coroutines.h | ||
GCOVProfiler.h | ||
InstrProfiling.h | ||
Instrumentation.h | ||
IPO.h | ||
ObjCARC.h | ||
PGOInstrumentation.h | ||
SampleProfile.h | ||
Scalar.h | ||
Vectorize.h |