summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-09-01 22:52:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-09-01 22:52:28 +0000
commit2c4e0f120f1c8472054a1e041dd70a5bd74dc22d (patch)
tree1b3a81e5707cfb05647ca9a117b472c8e307acbe /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parentbad9d2ee49aebe62467f362ce6d3e782886f5835 (diff)
downloadbcm5719-llvm-2c4e0f120f1c8472054a1e041dd70a5bd74dc22d.tar.gz
bcm5719-llvm-2c4e0f120f1c8472054a1e041dd70a5bd74dc22d.zip
Oops. Bad typo. Without the check of N1.hasOneUse() bad things can happen.
Suppose the TokenFactor can reach the Op: [Load chain] ^ | [Load] ^ ^ | | / \- / | / [Op] / ^ ^ | .. | | / | [TokenFactor] | ^ | | | \ / \ / [Store] If we move the Load below the TokenFactor, we would have created a cycle in the DAG. llvm-svn: 30040
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud