[PATCH] D150009: [AArch64CompressJumpTables] Prevent compression when block alignment is bigger than function alignment.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 17:08:52 PDT 2023
efriedma added a comment.
Don't you just need to add "Alignment - FunctionAlignment" bytes to AlignedOffset? The assembler resolves the final offsets, so we don't need precise offsets at the point we're doing the compression; we just need a conservative estimate so we don't over-compress.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150009/new/
https://reviews.llvm.org/D150009
More information about the llvm-commits
mailing list