freebsd-nq/contrib/llvm/lib/Target/Mips
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 trunk r178860, in preparation of the 2013-04-12 17:57:40 +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
MicroMipsInstrFormats.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MicroMipsInstrInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips16FrameLowering.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16FrameLowering.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16InstrFormats.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16InstrInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16InstrInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16InstrInfo.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16ISelDAGToDAG.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips16ISelDAGToDAG.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips16ISelLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips16ISelLowering.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips16RegisterInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips16RegisterInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips64InstrInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Mips.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Mips.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsAnalyzeImmediate.cpp Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
MipsAnalyzeImmediate.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
MipsAsmPrinter.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsAsmPrinter.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsCallingConv.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsCodeEmitter.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsCondMov.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsConstantIslandPass.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsDelaySlotFiller.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsDSPInstrFormats.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsDSPInstrInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsFrameLowering.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsFrameLowering.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsInstrFormats.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsInstrFPU.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsInstrInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsInstrInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsInstrInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsISelDAGToDAG.cpp Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
MipsISelDAGToDAG.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsISelLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsISelLowering.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsJITInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsJITInfo.h Upgrade our copy of llvm/clang to 3.2 release. 2012-12-23 13:04:00 +00:00
MipsLongBranch.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsMachineFunction.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsMachineFunction.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsMCInstLower.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsMCInstLower.h Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
MipsModuleISelDAGToDAG.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsModuleISelDAGToDAG.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsOs16.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsOs16.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsRegisterInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsRegisterInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsRegisterInfo.td Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsRelocations.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
MipsSchedule.td Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
MipsSEFrameLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSEFrameLowering.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsSEInstrInfo.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSEInstrInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsSEISelDAGToDAG.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSEISelDAGToDAG.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSEISelLowering.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSEISelLowering.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSelectionDAGInfo.cpp
MipsSelectionDAGInfo.h
MipsSERegisterInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsSERegisterInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsSubtarget.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsSubtarget.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsTargetMachine.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsTargetMachine.h Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MipsTargetObjectFile.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
MipsTargetObjectFile.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00