[all-commits] [llvm/llvm-project] 282afd: Reland "[llvm][AArch64] Insert "bti j" after call ...
David Spickett via All-commits
all-commits at lists.llvm.org
Tue Apr 12 01:35:28 PDT 2022
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-04-12 (Tue, 12 Apr 2022)
Reland "[llvm][AArch64] Insert "bti j" after call to setjmp"
Cherry-picked from c3b98194df5572bc9b33024b48457538a7213b4c
which was originally reviewed as https://reviews.llvm.org/D121707.
This reverts commit edb7ba714acba1d18a20d9f4986d2e38aee1d109.
This changes BLR_BTI to take variable_ops meaning that we can accept
a register or a label. The pattern still expects one argument so we'll
never get more than one. Then later we can check the type of the operand
to choose BL or BLR to emit.
(this is what BLR_RVMARKER does but I missed this detail of it first time around)
Also require NoSLSBLRMitigation which I missed in the first version.
More information about the All-commits