diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-09-01 22:52:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-09-01 22:52:28 +0000 |
commit | 2c4e0f120f1c8472054a1e041dd70a5bd74dc22d (patch) | |
tree | 1b3a81e5707cfb05647ca9a117b472c8e307acbe /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | bad9d2ee49aebe62467f362ce6d3e782886f5835 (diff) | |
download | bcm5719-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