aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorKirill Naumov <knaumov@azul.com>2020-06-02 19:22:41 +0000
committerKirill Naumov <knaumov@azul.com>2020-06-17 13:40:19 +0000
commit34fba68d80051e3c53e7843157c036f6d511ae03 (patch)
treeb5990859cfa6b2044d64a7cdc6832f291437a26d /llvm/lib/Support/CommandLine.cpp
parent52b0db22f8cfb594c32389224570681d2d2c2f21 (diff)
downloadllvm-34fba68d80051e3c53e7843157c036f6d511ae03.zip
llvm-34fba68d80051e3c53e7843157c036f6d511ae03.tar.gz
llvm-34fba68d80051e3c53e7843157c036f6d511ae03.tar.bz2
[InlineCost] GetElementPtr with constant operands
If the GEP instruction contanins only constants as its arguments, then it should be recognized as a constant. For now, there was also added a flag to turn off this simplification if it causes any regressions ("disable-gep-const-evaluation") which is off by default. Once I gather needed data of the effectiveness of this simplification, the flag will be deleted. Reviewers: apilipenko, davidxl, mtrofin Reviewed By: mtrofin Differential Revision: https://reviews.llvm.org/D81026
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions