aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-05-13 10:42:56 +0300
committerMartin Storsjö <martin@martin.st>2022-05-17 00:41:39 +0300
commitcabefea2ec99f80ecdf9d3d5fe955831532ff4b0 (patch)
treee70e33ea274eb0cc3e8495e20be9b22328057cd7 /llvm/lib/CodeGen/BasicBlockSections.cpp
parent68f37e7991bf41a6f3fb3dd12d0e7a42822de347 (diff)
downloadllvm-cabefea2ec99f80ecdf9d3d5fe955831532ff4b0.zip
llvm-cabefea2ec99f80ecdf9d3d5fe955831532ff4b0.tar.gz
llvm-cabefea2ec99f80ecdf9d3d5fe955831532ff4b0.tar.bz2
[MC] [Win64EH] Try writing an ARM64 "packed epilog" even if the epilog doesn't share opcodes with the prolog
The "packed epilog" form only implies that the epilog is located exactly at the end of the function (so the location of the epilog is implicit from the epilog opcodes), but it doesn't have to share opcodes with the prolog - as long as the total number of opcode bytes and the offset to the epilog fit within the bitfields. This avoids writing a 4 byte epilog scope in many cases. (I haven't measured how much this shrinks actual xdata sections in practice though.) Differential Revision: https://reviews.llvm.org/D125536
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions