diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-13 20:52:04 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-13 20:52:04 +0000 |
commit | 56b68851046ab8388fa9d54e2f5f8339cb7b7f63 (patch) | |
tree | 2d4037c308131a47fbfe4ac1a65d01fc1bd1dc2b /llvm/lib/Support/CommandLine.cpp | |
parent | 591ef273e3697d1e83fafd1e0c3250200e2bc2d3 (diff) | |
download | llvm-56b68851046ab8388fa9d54e2f5f8339cb7b7f63.zip llvm-56b68851046ab8388fa9d54e2f5f8339cb7b7f63.tar.gz llvm-56b68851046ab8388fa9d54e2f5f8339cb7b7f63.tar.bz2 |
When doing the very-late shift-and address-mode optimization,
create a new DAG node to represent the new shift to keep the
DAG consistent, even though it'll almost always be folded into
the address.
If a user of the resulting address has multiple uses, the
nodes may get revisited by a later MatchAddress call, in which
case DAG inconsistencies do matter.
This fixes PR2849.
llvm-svn: 57465
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions