diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-26 02:13:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-26 02:13:03 +0000 |
commit | 4e91ee7a2a80142c3774a9984f92a3fae1c126e7 (patch) | |
tree | fa08e7c9454579598eaac254327afbf42a022bd9 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 539c9b99c27c0fe4f22a0498bc65334e4aa72ef0 (diff) |
Implement a new DecomposeGEPExpression method, which decomposes a GEP into a list of scaled offsets. Use this to eliminate some previous ad-hoc code which was subtly broken (it assumed all Constant*'s were non-zero, but strange constant express could be zero).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions