1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Target/XCore
Louis Gerbarg 8048e52537 Make sure no loads resulting from load->switch DAGCombine are marked invariant
Currently when DAGCombine converts loads feeding a switch into a switch of
addresses feeding a load the new load inherits the isInvariant flag of the left
side. This is incorrect since invariant loads can be reordered in cases where it
is illegal to reoarder normal loads.

This patch adds an isInvariant parameter to getExtLoad() and updates all call
sites to pass in the data if they have it or false if they don't. It also
changes the DAGCombine to use that data to make the right decision when
creating the new load.

llvm-svn: 214449
2014-07-31 21:45:05 +00:00
..
Disassembler Prune dependency to MC from each target disassembler. 2014-07-24 11:45:11 +00:00
InstPrinter
MCTargetDesc
TargetInfo
CMakeLists.txt
LLVMBuild.txt
Makefile
README.txt
XCore.h
XCore.td
XCoreAsmPrinter.cpp Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
XCoreCallingConv.td
XCoreFrameLowering.cpp XCore target: remove incorrect DebugLoc entries from prologue 2014-07-04 06:38:22 +00:00
XCoreFrameLowering.h
XCoreFrameToArgsOffsetElim.cpp
XCoreInstrFormats.td
XCoreInstrInfo.cpp XCore target: remove incorrect DebugLoc entries from prologue 2014-07-04 06:38:22 +00:00
XCoreInstrInfo.h
XCoreInstrInfo.td
XCoreISelDAGToDAG.cpp
XCoreISelLowering.cpp Make sure no loads resulting from load->switch DAGCombine are marked invariant 2014-07-31 21:45:05 +00:00
XCoreISelLowering.h Move the subtarget dependent features from XCoreTargetMachine 2014-07-02 00:10:09 +00:00
XCoreLowerThreadLocal.cpp
XCoreMachineFunctionInfo.cpp
XCoreMachineFunctionInfo.h
XCoreMCInstLower.cpp
XCoreMCInstLower.h
XCoreRegisterInfo.cpp
XCoreRegisterInfo.h
XCoreRegisterInfo.td
XCoreSelectionDAGInfo.cpp Make XCoreSelectionDAGInfo take a DataLayout since it only needs 2014-07-02 00:10:05 +00:00
XCoreSelectionDAGInfo.h Make XCoreSelectionDAGInfo take a DataLayout since it only needs 2014-07-02 00:10:05 +00:00
XCoreSubtarget.cpp Move the subtarget dependent features from XCoreTargetMachine 2014-07-02 00:10:09 +00:00
XCoreSubtarget.h Move the subtarget dependent features from XCoreTargetMachine 2014-07-02 00:10:09 +00:00
XCoreTargetMachine.cpp Move the subtarget dependent features from XCoreTargetMachine 2014-07-02 00:10:09 +00:00
XCoreTargetMachine.h Move the subtarget dependent features from XCoreTargetMachine 2014-07-02 00:10:09 +00:00
XCoreTargetObjectFile.cpp CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF 2014-07-14 22:57:27 +00:00
XCoreTargetObjectFile.h CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF 2014-07-14 22:57:27 +00:00
XCoreTargetStreamer.h
XCoreTargetTransformInfo.cpp

To-do
-----

* Instruction encodings
* Tailcalls
* Investigate loop alignment
* Add builtins