aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-04-16 14:37:38 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-04-16 15:41:26 +0800
commitd26dd58ca5b59032eb371b8f51d9134acdd8d3ad (patch)
treed6da49b286ae80eb472586e10fb91d090c71a2e7 /llvm/lib/Transforms/Utils/Local.cpp
parentdbaa1893c9afe6a245860efb8d68875ba4fd6794 (diff)
downloadllvm-d26dd58ca5b59032eb371b8f51d9134acdd8d3ad.zip
llvm-d26dd58ca5b59032eb371b8f51d9134acdd8d3ad.tar.gz
llvm-d26dd58ca5b59032eb371b8f51d9134acdd8d3ad.tar.bz2
[StmtProfile] Don't profile the body of lambda expressions
Close https://github.com/llvm/llvm-project/issues/87609 We tried to profile the body of the lambda expressions in https://reviews.llvm.org/D153957. But as the original comments show, it is indeed dangerous. After we tried to skip calculating the ODR hash values recently, we have fall into this trap twice. So in this patch, I choose to not profile the body of the lambda expression. The signature of the lambda is still profiled.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions