summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorHao Liu <Hao.Liu@arm.com>2014-11-19 06:24:44 +0000
committerHao Liu <Hao.Liu@arm.com>2014-11-19 06:24:44 +0000
commit1d2a061bd865b50280b59e9f648f60ef25a09444 (patch)
treed5eb442a06ca278f80d8bc4f71d54f8a0c74fc9a /llvm/lib/Analysis/CodeMetrics.cpp
parent791b86ec55a71659cbddc3bbaaf495c699872ddf (diff)
downloadbcm5719-llvm-1d2a061bd865b50280b59e9f648f60ef25a09444.tar.gz
bcm5719-llvm-1d2a061bd865b50280b59e9f648f60ef25a09444.zip
[SeparateConstOffsetFromGEP] Allow SeparateConstOffsetFromGEP pass to lower GEPs.
If LowerGEP is enabled, it can lower a GEP with multiple indices into GEPs with a single index or arithmetic operations. Lowering GEPs can always extract structure indices. Lowering GEPs can also give use more optimization opportunities. It can benefit passes like CSE, LICM and CGP. Reviewed in http://reviews.llvm.org/D5864 llvm-svn: 222328
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud