llvm-6502/lib/CodeGen/SelectionDAG
Hal Finkel 03c8f8fbd5 Fix DAGCombiner::visitFP_EXTEND to ignore indexed loads
DAGCombiner::visitFP_EXTEND will apply the following transformation:

  fold (fpext (load x)) -> (fpext (fptrunc (extload x)))

but the implementation does not handle indexed loads (pre/post inc.), but did
not specifically ignore them either (unlike for extending loads, which it
already ignored), causing an assert when the transformation was applied to an
indexed load. This is the minimal fix for correctness (causing the
transformation to be skipped for indexed loads).

Unfortunately, I don't have an in-tree test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191989 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-04 22:18:12 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Fix DAGCombiner::visitFP_EXTEND to ignore indexed loads 2013-10-04 22:18:12 +00:00
FastISel.cpp
FunctionLoweringInfo.cpp
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp SelectionDAG: Clarify comments from r191600 2013-10-01 02:09:00 +00:00
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp Initial support for Neon scalar instructions. 2013-09-24 02:47:27 +00:00
LegalizeTypes.cpp
LegalizeTypes.h
LegalizeTypesGeneric.cpp Revert "SelectionDAG: Teach the legalizer to split SETCC if VSELECT needs splitting too." 2013-09-21 15:09:46 +00:00
LegalizeVectorOps.cpp
LegalizeVectorTypes.cpp
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp Fix spelling intruction -> instruction. 2013-09-28 11:46:15 +00:00
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp Remove several unused variables. 2013-10-01 13:32:03 +00:00
SelectionDAGBuilder.cpp
SelectionDAGBuilder.h
SelectionDAGDumper.cpp
SelectionDAGISel.cpp Revert r191940 to see if it fixes the build bots. 2013-10-04 05:52:17 +00:00
SelectionDAGPrinter.cpp
TargetLowering.cpp SelectionDAG: Try to expand all condition codes using getCCSwappedOperands() 2013-09-28 02:50:38 +00:00
TargetSelectionDAGInfo.cpp