diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-20 17:30:51 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-20 17:30:51 +0000 |
commit | 3fa32f2452e92174471f57f8fc35066d36c757d0 (patch) | |
tree | 89f3ca913a9a6df09a9d4d2106b2b50b3dab18a6 /clang/lib/CodeGen/CGStmt.cpp | |
parent | edc2971c4d1ca688b0e76627ab73bca5f78181f5 (diff) | |
download | bcm5719-llvm-3fa32f2452e92174471f57f8fc35066d36c757d0.tar.gz bcm5719-llvm-3fa32f2452e92174471f57f8fc35066d36c757d0.zip |
replace usage of EmitGEPOffset() with TargetData::getIndexedOffset() when the GEP offset is known to be constant.
With this change, we avoid relying on the IR Builder to constant fold the operations.
No functionality change intended.
llvm-svn: 158829
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
0 files changed, 0 insertions, 0 deletions