freebsd-nq/contrib/llvm/lib/Target/PowerPC
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
..
AsmParser
InstPrinter
MCTargetDesc
TargetInfo
PPC.h
PPC.td
PPCAsmPrinter.cpp
PPCBranchSelector.cpp
PPCCallingConv.td
PPCCodeEmitter.cpp
PPCCTRLoops.cpp
PPCFrameLowering.cpp
PPCFrameLowering.h
PPCHazardRecognizers.cpp
PPCHazardRecognizers.h
PPCInstr64Bit.td
PPCInstrAltivec.td
PPCInstrBuilder.h
PPCInstrFormats.td
PPCInstrInfo.cpp
PPCInstrInfo.h
PPCInstrInfo.td
PPCISelDAGToDAG.cpp Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
PPCISelLowering.cpp
PPCISelLowering.h
PPCJITInfo.cpp
PPCJITInfo.h
PPCMachineFunctionInfo.cpp
PPCMachineFunctionInfo.h
PPCMCInstLower.cpp
PPCPerfectShuffle.h
PPCRegisterInfo.cpp
PPCRegisterInfo.h
PPCRegisterInfo.td
PPCRelocations.h
PPCSchedule440.td
PPCSchedule.td
PPCScheduleA2.td
PPCScheduleE500mc.td
PPCScheduleE5500.td
PPCScheduleG3.td
PPCScheduleG4.td
PPCScheduleG4Plus.td
PPCScheduleG5.td
PPCSelectionDAGInfo.cpp
PPCSelectionDAGInfo.h
PPCSubtarget.cpp
PPCSubtarget.h
PPCTargetMachine.cpp
PPCTargetMachine.h
PPCTargetTransformInfo.cpp