diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-20 16:36:34 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-20 16:36:34 +0000 |
commit | 8f34ae2aae4025d041d5358f00affecd92aa8cae (patch) | |
tree | ee9aeb14cfbad2edb9c3c632c7dfd35c8549ff56 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 56fb6fef50070d92d3137bcf912580f607e465b8 (diff) | |
download | bcm5719-llvm-8f34ae2aae4025d041d5358f00affecd92aa8cae.tar.gz bcm5719-llvm-8f34ae2aae4025d041d5358f00affecd92aa8cae.zip |
Recommit "[InlineCost] Use TTI to check if GEP is free." #2
This is the second attemp to recommit r292526.
The original summary:
Currently, a GEP is considered free only if its indices are all constant.
TTI::getGEPCost() can give target-specific more accurate analysis. TTI is
already used for the cost of many other instructions.
llvm-svn: 292616
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions