commit | dac5dbadeb840ddded4665d144f31c5f88494d6e | [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 | 5d662010a253bd229207ba978b6a4684fd958d47 | |
parent | 164254d77c36a2f224987406d66f3bacfdbb7652 [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129324 91177308-0d34-0410-b5e6-96231b3b80d8