- Use of load's chain result should be redirected to load's chain operand.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 20 May 2006 09:21:39 +0000 (09:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 20 May 2006 09:21:39 +0000 (09:21 +0000)
commit4f7f71de43f2b9981e6e9df97f7b4f296b31a69f
tree5ce84d8d205f16a89ccd9945ed6f8641df18c602
parent0d23bc4666b413a40d59e00b843d266fcc3ea336
- Use of load's chain result should be redirected to load's chain operand.
  If it reads the chain result of the call, then the use, callseq_start,
  and call would form a cycle!
- Don't forget handle node replacement!
- There could also be a TokenFactor between the load and the callseq_start.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp