[llvm] [BOLT][AArch64] Exclude JT pattern matching under assert failure (PR #122298)

Pavel Iliin via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 06:20:19 PST 2025


ilinpv wrote:

> @maksfb @aaupov @ilinpv I think this PR #124372 is more unified, we can close this PR, just for history few extra jump table patterns provided in the tests

I believe it would be beneficial to enhance the AArch64 jump table pattern matching in Bolt. While we are currently working on  ABI (https://github.com/ARM-software/abi-aa/issues/297) and would utilize additional metadata to help Bolt to reconstruct control flow for indirect branches from jump tables in the future, having pattern matching as an option for AArch64 perf2bolt/llvm-bolt in the meantime could be advantageous. Additionally, we can verify these patterns in the future by comparing the results from metadata and pattern matching. Please correct me if I have misunderstood anything.


https://github.com/llvm/llvm-project/pull/122298


More information about the llvm-commits mailing list