[PATCH] D52868: [AArch64][v8.5A] Restrict indirect tail calls to use x16/17 only when using BTI

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 04:04:30 PDT 2018


t.p.northover added inline comments.


================
Comment at: lib/Target/AArch64/AArch64InstrInfo.td:6641
+                   Sched<[WriteBrReg]>,
+                   Requires<[NotUseBTI]>;
   // Indirect tail-call with any register allowed, used by MachineOutliner when
----------------
I don't think the `Requires` clauses here actually affect anything: there's no assembly syntax (or indeed MC-level feature) and the patterns are separate.


Repository:
  rL LLVM

https://reviews.llvm.org/D52868





More information about the llvm-commits mailing list