llvm-6502/lib/CodeGen/SelectionDAG
Hans Wennborg 4cd53531fd Fast-ISel: Remove dead code after falling back from selecting call instructions (PR20863)
Previously, fast-isel would not clean up after failing to select a call
instruction, because it would have called flushLocalValueMap() which moves
the insertion point, making SavedInsertPt in selectInstruction() invalid.

Fixing this by making SavedInsertPt a member variable, and having
flushLocalValueMap() update it.

This removes some redundant code at -O0, and more importantly fixes PR20863.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217401 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-08 20:24:10 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Group unsafe fmul math folds together for easier reading. No functional change. 2014-09-08 20:16:42 +00:00
FastISel.cpp Fast-ISel: Remove dead code after falling back from selecting call instructions (PR20863) 2014-09-08 20:24:10 +00:00
FunctionLoweringInfo.cpp CodeGen: Handle va_start in the entry block 2014-09-02 18:42:44 +00:00
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp
LegalizeTypes.cpp
LegalizeTypes.h
LegalizeTypesGeneric.cpp
LegalizeVectorOps.cpp
LegalizeVectorTypes.cpp
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp Change MCSchedModel to be a struct of statically initialized data. 2014-09-02 17:43:54 +00:00
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp Do not assume the value passed to memset is an i32. 2014-08-29 08:23:53 +00:00
SelectionDAGBuilder.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
SelectionDAGBuilder.h
SelectionDAGDumper.cpp
SelectionDAGISel.cpp [FastISel] Rename public visible FastISel functions. NFC. 2014-09-03 20:56:52 +00:00
SelectionDAGPrinter.cpp
TargetLowering.cpp
TargetSelectionDAGInfo.cpp