llvm-6502/lib/CodeGen/SelectionDAG
Ahmed Bougacha 55a060641f [CodeGen] Replace the reused stores' chain for extractelt expansion.
This fixes a subtle issue that was introduced in r205153.

When reusing a store for the extractelement expansion (to load directly
from it, inserting of going through the stack), later stores to the
same location might have overwritten the data we were expecting to
extract from.

To fix that, we need to explicitly replace the chain going out of the
reused store, so that later stores also have an explicit dependency on
the generated element-extracting loads, and can't clobber them.

rdar://20066785
Differential Revision: http://reviews.llvm.org/D8180


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231721 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-09 22:51:05 +00:00
..
CMakeLists.txt
DAGCombiner.cpp [DAGCombiner] Add a shuffle mask commutation helper function. NFCI. 2015-03-07 22:33:11 +00:00
FastISel.cpp
FunctionLoweringInfo.cpp
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp [CodeGen] Replace the reused stores' chain for extractelt expansion. 2015-03-09 22:51:05 +00:00
LegalizeFloatTypes.cpp
LegalizeIntegerTypes.cpp LegalizeTypes: Handle shift by 0 in ExpandShiftByConstant. 2015-03-06 01:13:01 +00:00
LegalizeTypes.cpp
LegalizeTypes.h
LegalizeTypesGeneric.cpp
LegalizeVectorOps.cpp
LegalizeVectorTypes.cpp
LLVMBuild.txt
Makefile
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp [DAGCombiner] Add a shuffle mask commutation helper function. NFCI. 2015-03-07 22:33:11 +00:00
SelectionDAGBuilder.cpp SelectionDAGBuilder: Merge 3 copies of the limited precision exp2 emission code. 2015-03-05 21:13:08 +00:00
SelectionDAGBuilder.h Revert change r231366 as it broke clang-native-arm-cortex-a9 Analysis/properties.m test. 2015-03-05 15:41:14 +00:00
SelectionDAGDumper.cpp X86: Optimize address mode matching for FRAME_ALLOC_RECOVER nodes 2015-03-05 18:50:12 +00:00
SelectionDAGISel.cpp Make constant arrays that are passed to functions as const. 2015-03-07 17:41:00 +00:00
SelectionDAGPrinter.cpp
StatepointLowering.cpp Revert change r231366 as it broke clang-native-arm-cortex-a9 Analysis/properties.m test. 2015-03-05 15:41:14 +00:00
StatepointLowering.h
TargetLowering.cpp
TargetSelectionDAGInfo.cpp