| commit | 1c6c34834b92c6152f11a2d546535d78bfbb9a5a | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <gohman@apple.com> | Tue Apr 12 00:11:56 2011 +0000 |
| committer | Dan Gohman <gohman@apple.com> | Tue Apr 12 00:11:56 2011 +0000 |
| tree | fa809213dbcb9f0a4d8f49887653cfc2f0aa25d1 | |
| parent | 0a6895960471be0ab3afc2cc61c6219236ebda62 [diff] |
Fix reassociate to use a worklist instead of recursing when new reassociation opportunities are exposed. This fixes a bug where the nested reassociation expects to be the IR to be consistent, but it isn't, because the outer reassociation has disconnected some of the operands. rdar://9167457 llvm-svn: 129324