commit | 9adf151b3d46740ac103c4e21fbdec66d6ef1cdf | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue May 24 18:24:08 2011 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue May 24 18:24:08 2011 +0000 |
tree | 6b1fe821d1e94a8bd459a0ee74871917f73b81ba | |
parent | 6b918b84661687f7b5fc92dabd6d58e258bf39f2 [diff] |
Make DecomposeGEPExpression check SimplifyInstruction only after checking for a GEP, so that it matches what GetUnderlyingObject does. This fixes an obscure bug turned up by bugpoint in the testcase for PR9931. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131971 91177308-0d34-0410-b5e6-96231b3b80d8