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 | da244a091dcde022ea4938793d81ee957903ed70 (patch) | |
tree | 4344901b7152e234dc37366a79d944a71eb5a7eb /lib/Target/CppBackend/CPPBackend.cpp | |
parent | 4548e02bd6336983a21afdf5f6a3ea333ce2daca (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions