commit | 486ebfd7049a42682762cc25c368d1a9ce3aed7b | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Sun Nov 21 05:14:06 2004 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Sun Nov 21 05:14:06 2004 +0000 |
tree | 5b8f0ac42b86e4a4b8295b359727d0207f3d81bc | |
parent | b0f72a17d9a852d5fd2e67f36636d8536cd60cc5 [diff] |
Fix Shootout-C++/wc, which was broken by my recent changes to emit fewer reg-reg copies. The necessary conditions for this bug are a GEP that is used outside the basic block in which it is defined, whose components other than the pointer are all constant zero, and where the use is selected before the definition (backwards branch to successsor block). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18084 91177308-0d34-0410-b5e6-96231b3b80d8