aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-01-24 14:54:50 -0800
committerNick Desaulniers <ndesaulniers@google.com>2023-01-24 15:09:57 -0800
commitf1764d5b594ff6edbf8d17d196eb0b7a653ac0fc (patch)
treec741fe038d2e1e8a33a896fd75ef346f94e53bea /clang/lib/CodeGen/CodeGenFunction.cpp
parent7532e88f38a417d3713cb179dc974948c30f0336 (diff)
downloadllvm-f1764d5b594ff6edbf8d17d196eb0b7a653ac0fc.zip
llvm-f1764d5b594ff6edbf8d17d196eb0b7a653ac0fc.tar.gz
llvm-f1764d5b594ff6edbf8d17d196eb0b7a653ac0fc.tar.bz2
[InlineCost] model calls to llvm.objectsize.*
Very similar to https://reviews.llvm.org/D111272. We very often can evaluate calls to llvm.objectsize.* regardless of inlining. Don't count calls to llvm.objectsize.* against the InlineCost when we can evaluate the call to a constant. Link: https://github.com/ClangBuiltLinux/linux/issues/1302 Reviewed By: manojgupta Differential Revision: https://reviews.llvm.org/D111456
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions