freebsd-dev/contrib/llvm/lib/CodeGen
Dimitry Andric 462fc0e072 Pull in r191165 from upstream llvm trunk:
ISelDAG: spot chain cycles involving MachineNodes

  Previously, the DAGISel function WalkChainUsers was spotting that it
  had entered already-selected territory by whether a node was a
  MachineNode (amongst other things). Since it's fairly common practice
  to insert MachineNodes during ISelLowering, this was not the correct
  check.

  Looking around, it seems that other nodes get their NodeId set to -1
  upon selection, so this makes sure the same thing happens to all
  MachineNodes and uses that characteristic to determine whether we
  should stop looking for a loop during selection.

  This should fix PR15840.

Specifically, this fixes the long-standing assertion failure when
compiling the multimedia/gstreamer port on i386.  Thanks to Tijl
Coosemans for his help in getting upstream to fix it.

Approved by:	re (marius)
2013-09-22 22:03:30 +00:00
..
AsmPrinter Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
SelectionDAG Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
AggressiveAntiDepBreaker.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
AggressiveAntiDepBreaker.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
AllocationOrder.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
AllocationOrder.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Analysis.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
AntiDepBreaker.h Upgrade our copy of llvm/clang to r132879, from upstream's trunk. 2011-06-12 18:01:31 +00:00
BasicTargetTransformInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
BranchFolding.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
BranchFolding.h Upgrade our copy of llvm/clang to r135360, from upstream's trunk. 2011-07-17 19:51:40 +00:00
CalcSpillWeights.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
CallingConvLower.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
CodeGen.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
CriticalAntiDepBreaker.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
CriticalAntiDepBreaker.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
DeadMachineInstructionElim.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
DFAPacketizer.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
DwarfEHPrepare.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
EarlyIfConversion.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
EdgeBundles.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ErlangGC.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ExecutionDepsFix.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ExpandISelPseudos.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ExpandPostRAPseudos.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
GCMetadata.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
GCMetadataPrinter.cpp
GCStrategy.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
IfConversion.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
InlineSpiller.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
InterferenceCache.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
InterferenceCache.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
IntrinsicLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
JITCodeEmitter.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
LatencyPriorityQueue.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
LexicalScopes.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveDebugVariables.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveDebugVariables.h Upgrade our copy of llvm/clang to r132879, from upstream's trunk. 2011-06-12 18:01:31 +00:00
LiveInterval.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveIntervalAnalysis.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveIntervalUnion.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveRangeCalc.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveRangeCalc.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveRangeEdit.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveRegMatrix.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveStackAnalysis.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LiveVariables.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LLVMTargetMachine.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
LocalStackSlotAllocation.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineBasicBlock.cpp Pull in r185594 from llvm trunk: 2013-07-04 20:10:33 +00:00
MachineBlockFrequencyInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineBlockPlacement.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineBranchProbabilityInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineCodeEmitter.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
MachineCopyPropagation.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineCSE.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineDominators.cpp Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
MachineFunction.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineFunctionAnalysis.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
MachineFunctionPass.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineFunctionPrinterPass.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineInstr.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineInstrBundle.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineLICM.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineLoopInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineModuleInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineModuleInfoImpls.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
MachinePassRegistry.cpp Upgrade our copy of llvm/clang to trunk r162107. With thanks to 2012-08-20 18:33:03 +00:00
MachinePostDominators.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
MachineRegisterInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineScheduler.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineSink.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineSSAUpdater.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MachineTraceMetrics.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MachineVerifier.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
OcamlGC.cpp
OptimizePHIs.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Passes.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
PeepholeOptimizer.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PHIElimination.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PHIEliminationUtils.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PHIEliminationUtils.h Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
PostRASchedulerList.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ProcessImplicitDefs.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
PrologEpilogInserter.cpp Pull in r183984 from llvm trunk: 2013-06-20 18:25:10 +00:00
PrologEpilogInserter.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PseudoSourceValue.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegAllocBase.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegAllocBase.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegAllocBasic.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
RegAllocFast.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegAllocGreedy.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
RegAllocPBQP.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
RegisterClassInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegisterCoalescer.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegisterCoalescer.h Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
RegisterPressure.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
RegisterScavenging.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ScheduleDAG.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ScheduleDAGInstrs.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ScheduleDAGPrinter.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ScoreboardHazardRecognizer.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ShadowStackGC.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ShrinkWrapping.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
SjLjEHPrepare.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
SlotIndexes.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Spiller.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Spiller.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
SpillPlacement.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
SpillPlacement.h Upgrade our copy of llvm/clang to r142614, from upstream's release_30 2011-10-22 14:08:43 +00:00
SplitKit.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
SplitKit.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
StackColoring.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
StackProtector.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
StackSlotColoring.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
StrongPHIElimination.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TailDuplication.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetFrameLoweringImpl.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetInstrInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetLoweringBase.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TargetLoweringObjectFileImpl.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TargetOptionsImpl.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TargetRegisterInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetSchedule.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TwoAddressInstructionPass.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
UnreachableBlockElim.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
VirtRegMap.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00