summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-06-20 17:30:51 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-06-20 17:30:51 +0000
commit3fa32f2452e92174471f57f8fc35066d36c757d0 (patch)
tree89f3ca913a9a6df09a9d4d2106b2b50b3dab18a6 /clang/lib/CodeGen/CGStmt.cpp
parentedc2971c4d1ca688b0e76627ab73bca5f78181f5 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud