[PATCH] D23301: [mips] Correct tail call pattern for MIPSR6

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 05:51:37 PDT 2016


dsanders added inline comments.

================
Comment at: lib/Target/Mips/MipsInstrInfo.td:1380
@@ -1379,2 +1379,3 @@
     PseudoSE<(outs), (ins RO:$rs), [(MipsTailCall RO:$rs)], II_JR>,
     PseudoInstExpansion<(JRInst ResRO:$rs)>;
+
----------------
You can avoid the duplication by dropping this line and picking between the two substitutions in MipsAsmPrinter::EmitInstruction() in the same way as PseudoReturn/PseudoIndirectBranch/etc. do.


Repository:
  rL LLVM

https://reviews.llvm.org/D23301





More information about the llvm-commits mailing list