[llvm-branch-commits] [llvm] [BOLT][NFC] Define AArch64 jump table types (PR #132109)
Maksim Panchenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 9 20:31:56 PDT 2025
https://github.com/maksfb commented:
I expect that eventually we will get RISC-V support for jump tables. In this context, I would prefer to keep the format of the jump table itself separate from the underlying architecture. I.e. we can use JTs with an absolute 64-bit addressing on any platform with a proper compiler support. Having one type, e.g. `JTT_ABS64`, sounds more convenient. And we can always lookup the target architecture if needed, but again it should be orthogonal to the format itself. What could be different is endianness, but we can handle it during serialization.
Also, in most places we use the number of bits for naming "things". Let's stick to this scheme.
https://github.com/llvm/llvm-project/pull/132109
More information about the llvm-branch-commits
mailing list