llvm-6502/include/llvm
Benjamin Kramer 4969310052 SelectionDAG: Teach FoldConstantArithmetic how to deal with vectors.
This required disabling a PowerPC optimization that did the following:
input:
x = BUILD_VECTOR <i32 16, i32 16, i32 16, i32 16>
lowered to:
tmp = BUILD_VECTOR <i32 8, i32 8, i32 8, i32 8>
x = ADD tmp, tmp

The add now gets folded immediately and we're back at the BUILD_VECTOR we
started from. I don't see a way to fix this currently so I left it disabled
for now.

Fix some trivially foldable X86 tests too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174325 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-04 15:19:18 +00:00
..
ADT Add AArch64 as an experimental target. 2013-01-31 12:12:40 +00:00
Analysis Document another instsimplify assumption. 2013-01-31 22:13:00 +00:00
Assembly
Bitcode
CodeGen SelectionDAG: Teach FoldConstantArithmetic how to deal with vectors. 2013-02-04 15:19:18 +00:00
Config More MSan/ASan annotations. 2013-02-04 07:03:24 +00:00
DebugInfo Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. 2013-01-26 00:28:05 +00:00
ExecutionEngine
IR Added instance variable/initializers/getter/setters for new keyword externally initialized to GlobalVariable. No *TRUE* functionality change. 2013-02-03 21:54:38 +00:00
MC Fix a think-o in the condition here. =[ I would commit the test that 2013-01-31 23:43:12 +00:00
Object [Object][Archive] Improve performance. 2013-02-03 10:48:50 +00:00
Option
Support More MSan/ASan annotations. 2013-02-04 07:03:24 +00:00
TableGen
Target [PEI] Pass the frame index operand number to the eliminateFrameIndex function. 2013-01-31 20:02:54 +00:00
Transforms Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
AutoUpgrade.h
CMakeLists.txt
DebugInfo.h PR14566: Debug Info: Removing top level lexical blocks 2013-01-26 21:55:23 +00:00
DIBuilder.h
GVMaterializer.h
InitializePasses.h Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Linker.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h