commit | 8fce16ef1abd92c59ab2b02d59e6d16a1c0ba0b7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Sep 12 16:02:12 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Sep 12 16:02:12 2003 +0000 |
tree | 97a9ea1b69ac1bf6495f2f1c19ff080de312cd0b | |
parent | 69d903d5becd8ce5c2b9b50d6867a8dc89eb7c78 [diff] |
Do not return success after checking only the FIRST USE of a gep instruction. Instead, check all uses. This fixes bug: ScalarRepl/2003-09-12-IncorrectPromote.ll This also fixes the miscompilation of Ptrdist/bc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8493 91177308-0d34-0410-b5e6-96231b3b80d8