freebsd-dev/contrib/llvm/lib/Target/ARM
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 Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Disassembler Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
InstPrinter Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MCTargetDesc Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TargetInfo Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
A15SDOptimizer.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARM.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARM.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMAsmPrinter.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMAsmPrinter.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMBaseInstrInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMBaseInstrInfo.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMBaseRegisterInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMBaseRegisterInfo.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMBuildAttrs.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMCallingConv.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMCallingConv.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMCodeEmitter.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMConstantIslandPass.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMConstantPoolValue.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMConstantPoolValue.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMExpandPseudoInsts.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMFastISel.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMFrameLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMFrameLowering.h Work around an ARM EABI issue where clang would sometimes incorrectly align 2013-07-02 08:04:41 +00:00
ARMHazardRecognizer.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ARMHazardRecognizer.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMInstrFormats.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ARMInstrInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMInstrInfo.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMInstrInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMInstrNEON.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMInstrThumb2.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMInstrThumb.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ARMInstrVFP.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ARMISelDAGToDAG.cpp Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
ARMISelLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMISelLowering.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMJITInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMJITInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMLoadStoreOptimizer.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMMachineFunctionInfo.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMMachineFunctionInfo.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMMCInstLower.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMPerfectShuffle.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMRegisterInfo.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMRegisterInfo.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMRegisterInfo.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
ARMRelocations.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMSchedule.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMScheduleA8.td Upgrade our copy of llvm/clang to trunk r162107. With thanks to 2012-08-20 18:33:03 +00:00
ARMScheduleA9.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMScheduleSwift.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMScheduleV6.td Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
ARMSelectionDAGInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMSelectionDAGInfo.h Upgrade our copy of llvm/clang to r142614, from upstream's release_30 2011-10-22 14:08:43 +00:00
ARMSubtarget.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMSubtarget.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ARMTargetMachine.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMTargetMachine.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMTargetObjectFile.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMTargetObjectFile.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
ARMTargetTransformInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
LICENSE.TXT Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MLxExpansionPass.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb1FrameLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Thumb1FrameLowering.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb1InstrInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb1InstrInfo.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
Thumb1RegisterInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb1RegisterInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb2InstrInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Thumb2InstrInfo.h Upgrade our copy of llvm/clang to trunk r162107. With thanks to 2012-08-20 18:33:03 +00:00
Thumb2ITBlockPass.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb2RegisterInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Thumb2RegisterInfo.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
Thumb2SizeReduction.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00