diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-23 19:32:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-23 19:32:27 +0000 |
commit | 8585850e9421d6b5d03f482671a9456decf860f1 (patch) | |
tree | 9bd0ded5e0e601d374c442f381eef3eed5eaf408 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1738d49b74b4666736f8d081290687fd85ddab68 (diff) | |
download | bcm5719-llvm-8585850e9421d6b5d03f482671a9456decf860f1.tar.gz bcm5719-llvm-8585850e9421d6b5d03f482671a9456decf860f1.zip |
fix a bug in findNonImmUse (used by IsLegalToFold) where nodes with
no id's would cause early exit allowing IsLegalToFold to return true
instead of false, producing a cyclic dag.
This was striking the new isel because it isn't using SelectNodeTo yet,
which theoretically is just an optimization.
llvm-svn: 96972
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions