diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-12 16:02:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-12 16:02:12 +0000 |
commit | 8fce16ef1abd92c59ab2b02d59e6d16a1c0ba0b7 (patch) | |
tree | 97a9ea1b69ac1bf6495f2f1c19ff080de312cd0b /lib/Transforms/Utils/InlineFunction.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions