[llvm] [RISCV] Use software guarded branch for indirect jump table branch. (PR #66762)

Yeting Kuo via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 00:55:22 PDT 2024


================
@@ -46,6 +46,7 @@ def SDT_RISCVIntBinOpW : SDTypeProfile<1, 2, [
 def SDT_RISCVIntShiftDOpW : SDTypeProfile<1, 3, [
   SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>, SDTCisVT<0, i64>, SDTCisVT<3, i64>
 ]>;
+def SDT_RISCVSWGuardedBrind : SDTypeProfile<0, -1, [SDTCisVT<0, iPTR>]>;
----------------
yetingk wrote:

Replaced it with SDTBrind.

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


More information about the llvm-commits mailing list