aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2023-07-21 16:21:44 -0700
committerMaksim Panchenko <maks@fb.com>2023-07-26 13:25:08 -0700
commit1e4ee588fbb5047a82dd33c4357fcfdebaf38bab (patch)
tree5e0aeeca482a80f42fee8c56cd1ba3da7afc722a /clang/lib/CodeGen/CodeGenFunction.cpp
parente00e0b6fb004080214645b14cfe68c3c4eccd437 (diff)
downloadllvm-1e4ee588fbb5047a82dd33c4357fcfdebaf38bab.zip
llvm-1e4ee588fbb5047a82dd33c4357fcfdebaf38bab.tar.gz
llvm-1e4ee588fbb5047a82dd33c4357fcfdebaf38bab.tar.bz2
[BOLT] Accept function start as valid jump table entry
Jump tables may contain a function start address. One real-world example is when a target basic block contains a recursive tail call that is later optimized/folded into a jump table target. While analyzing a jump table, we treat start address similar to an address past the end of the containing function (a result of __builtin_unreachable), i.e. we require another "regular" entry for the heuristic to proceed. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D156206
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions