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 | 89288994139b720ac196a7e698c78731e3d3d2fe (patch) | |
tree | d9219f2f7ffe38d6e4e647d39dc34a42c1241513 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a99edbedd13cafdc4d8264f5e374ea2d03f6730f (diff) | |
download | bcm5719-llvm-89288994139b720ac196a7e698c78731e3d3d2fe.tar.gz bcm5719-llvm-89288994139b720ac196a7e698c78731e3d3d2fe.zip |
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).
llvm-svn: 89915
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions