1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Keno Fischer 9b28c7dfb8 [Sink] Fix predicate in legality check
Summary:
isSafeToSpeculativelyExecute is the wrong predicate to use here.
All that checks for is whether it is safe to hoist a value due to
unaligned/un-dereferencable accesses. However, not only are we doing
sinking rather than hoisting, our concern is that the location
we're loading from may have been modified. Instead forbid sinking
any load across a critical edge.

Reviewers: majnemer

Subscribers: davide, llvm-commits

Differential Revision: https://reviews.llvm.org/D33179

llvm-svn: 305102
2017-06-09 19:31:10 +00:00
..
Analysis [LazyValueInfo] Don't run the more complex predicate handling code for EQ and NE in getPredicateResult 2017-06-09 16:16:20 +00:00
AsmParser Add dependency from AsmParser to BinaryFormat. 2017-06-07 04:24:33 +00:00
BinaryFormat Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
Bitcode Write summaries for merged modules when splitting modules for ThinLTO. 2017-06-08 23:01:49 +00:00
CodeGen SelectionDAG: Remove deleted nodes from legalized set to avoid clash with newly created nodes 2017-06-09 14:53:45 +00:00
DebugInfo Allow VarStreamArray to use stateful extractors. 2017-06-09 17:54:36 +00:00
Demangle [ItaniumDemangle] Fix a exponential string copying bug 2017-05-28 23:24:52 +00:00
ExecutionEngine Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
Fuzzer Fix the includes in lib/Fuzzer on Windows that have ordering 2017-06-06 23:28:01 +00:00
IR [LoopVectorize] Don't preserve nsw/nuw flags on shrunken ops. 2017-06-09 03:56:15 +00:00
IRReader
LineEditor
Linker Support for taking the max of module flags when linking, use for PIE/PIC 2017-05-23 00:08:00 +00:00
LTO Object: Factor out the code for creating the irsymtab for an arbitrary bitcode file. 2017-06-08 01:26:14 +00:00
MC [MC] Fix compiler crash in AsmParser::Lex 2017-06-09 14:04:03 +00:00
Object Implement COFF emission for parsed Windows Resource ( .res) files. 2017-06-09 17:34:30 +00:00
ObjectYAML [CodeView] Support remaining debug subsection types 2017-06-09 00:28:08 +00:00
Option Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Passes [PM] Add GVNSink to the pipeline. 2017-06-03 23:18:29 +00:00
ProfileData Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Support bugpoint: disabling symbolication of bugpoint-executed programs 2017-06-09 07:29:03 +00:00
TableGen Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Target [AMDGPU] Add intrinsics for alignbit and alignbyte instructions 2017-06-09 19:03:00 +00:00
ToolDrivers Add dependency from LibDriver to BinaryFormat. 2017-06-07 04:39:50 +00:00
Transforms [Sink] Fix predicate in legality check 2017-06-09 19:31:10 +00:00
XRay Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
CMakeLists.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
LLVMBuild.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00