[llvm] [RISCV] Add PseudoTAILX7, PseudoTAILReg for cf-protection-branch (PR #220657)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 17:14:32 PDT 2026


================
@@ -396,6 +396,17 @@ void RISCVAsmPrinter::emitInstruction(const MachineInstr *MI) {
   }
 
   switch (MI->getOpcode()) {
+  case RISCV::PseudoTAILX7: {
+    // Lower to PseudoTAILReg with X7 as the register operand.
+    MCOperand MCOp;
----------------
lenary wrote:

Can we call this something a little clearer? `SymOp` maybe?

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


More information about the llvm-commits mailing list