MaskRay wrote: I hope that we don't add a new mode. Armv8-M and AArch64's Branch Target Identification just provide one mode where a switch table's destinations are marked with BTI. Can x86 IBT do the same? https://github.com/llvm/llvm-project/pull/77679