1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Silviu Baranga be20c3f9e9 Fix PR25372 - teach replaceCongruentPHIs to handle cases where SE evaluates a PHI to a SCEVConstant
Summary:
Since now Scalar Evolution can create non-add rec expressions for PHI
nodes, it can also create SCEVConstant expressions. This will confuse
replaceCongruentPHIs, which previously relied on the fact that SCEV
could not produce constants in this case.

We will now replace the node with a constant in these cases - or avoid
processing the Phi in case of a type mismatch.

Reviewers: sanjoy

Subscribers: llvm-commits, majnemer

Differential Revision: http://reviews.llvm.org/D14230

llvm-svn: 251938
2015-11-03 16:27:04 +00:00
..
Analysis Fix PR25372 - teach replaceCongruentPHIs to handle cases where SE evaluates a PHI to a SCEVConstant 2015-11-03 16:27:04 +00:00
AsmParser AsmParser: Remove implicit ilist iterator conversions, NFC 2015-10-20 01:12:49 +00:00
Bitcode Don't assert if materializing before seeing any function bodies 2015-11-03 13:48:26 +00:00
CodeGen [X86] Generate .cfi_adjust_cfa_offset correctly when pushing arguments 2015-11-03 08:17:25 +00:00
DebugInfo Let the users of LLVMSymbolizer decide whether they want to symbolize inlined frames. 2015-10-30 00:40:20 +00:00
ExecutionEngine Revert "[Orc] Directly emit machine code for the x86 resolver block and trampolines." 2015-11-03 16:25:20 +00:00
Fuzzer [libFuzzer] add -merge flag to merge corpora 2015-10-24 01:16:40 +00:00
IR Fix use-after-free in function index merging code. 2015-11-02 20:43:33 +00:00
IRReader Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC. 2015-06-16 22:27:55 +00:00
LibDriver [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
LineEditor
Linker Move metadata linking after lazy global materialization/linking. 2015-11-03 15:11:27 +00:00
LTO Reapply "LTO: Disable extra verify runs in release builds" 2015-09-15 23:05:59 +00:00
MC ELF can handle some relocations of the form -sym + constant. 2015-11-02 19:13:59 +00:00
Object This never returns end(), simplify to use Child instead of iterator. NFC. 2015-11-03 01:20:44 +00:00
Option [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
Passes [PM] Port StripDeadPrototypes to the new pass manager 2015-10-30 23:28:12 +00:00
ProfileData [PGO] Value profiling (index format) code cleanup and testing 2015-11-02 05:08:23 +00:00
Support Use static instead of anonymous namespace for helper functions. NFC. 2015-11-02 14:57:24 +00:00
TableGen [TblGen] ArrayRefize TGParser. No functional change intended. 2015-10-24 12:46:45 +00:00
Target [X86] Generate .cfi_adjust_cfa_offset correctly when pushing arguments 2015-11-03 08:17:25 +00:00
Transforms LoopVectorizer - skip 'bitcast' between GEP and load. 2015-11-03 10:29:34 +00:00
CMakeLists.txt LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00