freebsd-src/contrib/llvm/lib
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
..
Analysis Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Archive Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
AsmParser Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Bitcode Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
CodeGen Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
DebugInfo Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
ExecutionEngine Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
IR Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
IRReader Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Linker Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
MC Import llvm r187614 (git 44c8e34), for lldb's use: 2013-08-24 15:33:17 +00:00
Object Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
Option Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Support Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
TableGen Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
Target Pull in r191165 from upstream llvm trunk: 2013-09-22 22:03:30 +00:00
Transforms Pull in r189672 from upstream llvm trunk: 2013-08-30 18:29:25 +00:00