1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib
Simon Pilgrim 91218fd943 [DAGCombine] Allow vector constant folding of any value type before type legalization
The patch comes in 2 parts:

1 - it makes use of the SelectionDAG::NewNodesMustHaveLegalTypes flag to tell when it can safely constant fold illegal types.

2 - it correctly resets SelectionDAG::NewNodesMustHaveLegalTypes at the start of each call to SelectionDAGISel::CodeGenAndEmitDAG so all the pre-legalization stages can make use of it - not just the first basic block that gets handled.

Fix for PR30760

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

llvm-svn: 294749
2017-02-10 14:37:25 +00:00
..
Analysis [PM/LCG] Teach LCG to support spurious reference edges. 2017-02-09 23:30:14 +00:00
AsmParser Change debug-info-for-profiling from a TargetOption to a function attribute. 2017-02-01 22:45:09 +00:00
Bitcode Fix bitcode upgrade for DIGlobalVariables with a var: field. 2017-02-08 17:44:43 +00:00
CodeGen [DAGCombine] Allow vector constant folding of any value type before type legalization 2017-02-10 14:37:25 +00:00
DebugInfo Add an additional set of braces to deal with subobject initialization. 2017-02-10 00:02:09 +00:00
Demangle Add support for demangling C++11 thread_local variables. 2017-01-31 15:56:36 +00:00
ExecutionEngine [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
Fuzzer [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
IR IR: Consider two DISubprograms to be odr-equal if they have the same template parameters. 2017-02-06 21:23:03 +00:00
IRReader
LibDriver
LineEditor
Linker IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport. 2017-02-03 17:01:14 +00:00
LTO fix nullptr Mangler in LTOModule 2017-02-04 01:28:44 +00:00
MC [MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-10 01:33:54 +00:00
Object Object: pad out BSD archive members to 8-bytes 2017-02-09 19:29:35 +00:00
ObjectYAML Make this file clang-format friendly and clang-format it. 2017-01-31 21:11:12 +00:00
Option
Passes [PM] Add Argument Promotion to the pass pipeline. 2017-02-09 23:54:57 +00:00
ProfileData
Support [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
TableGen
Target [X86][SSE] Use SDValue::getConstantOperandVal helper. NFCI. 2017-02-10 14:27:59 +00:00
Transforms [LoopUnswitch] Remove BFI usage (dead code) 2017-02-10 06:12:06 +00:00
XRay [MC] Fix some Clang-tidy modernize and Include What You Use warnings in SubtargetFeature; other minor fixes (NFC). 2017-02-09 01:09:54 +00:00
CMakeLists.txt
LLVMBuild.txt