summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-26 02:13:03 +0000
committerChris Lattner <sabre@nondot.org>2009-11-26 02:13:03 +0000
commit89288994139b720ac196a7e698c78731e3d3d2fe (patch)
treed9219f2f7ffe38d6e4e647d39dc34a42c1241513 /clang/lib/CodeGen/CodeGenModule.cpp
parenta99edbedd13cafdc4d8264f5e374ea2d03f6730f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud