diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-20 18:51:22 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-20 18:51:22 +0000 |
commit | 201b191b82858d2055e92ca8289082ce44ee8bb0 (patch) | |
tree | ec58fa3ce422b940a34cc6bd5e26a8873292255e /llvm/lib/ObjectYAML | |
parent | 91fb1f4be78425f6a15a364ff9552ddc7edc1627 (diff) | |
download | bcm5719-llvm-201b191b82858d2055e92ca8289082ce44ee8bb0.tar.gz bcm5719-llvm-201b191b82858d2055e92ca8289082ce44ee8bb0.zip |
Recommit "[InlineCost] Use TTI to check if GEP is free." #3
This is the third 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: 292633
Diffstat (limited to 'llvm/lib/ObjectYAML')
0 files changed, 0 insertions, 0 deletions