[PATCH] D18856: [mips] MIPSR6 Compact jump aliases

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 07:43:10 PDT 2016


dsanders accepted this revision.
dsanders added a reviewer: dsanders.
dsanders added a comment.
This revision is now accepted and ready to land.

LGTM with the GPR_32 added


================
Comment at: lib/Target/Mips/Mips32r6InstrInfo.td:820-822
@@ -819,2 +819,5 @@
 
+def : MipsInstAlias<"jrc $rs", (JIC GPR32Opnd:$rs, 0), 1>, ISA_MIPS32R6;
+
+def : MipsInstAlias<"jalrc $rs", (JIALC GPR32Opnd:$rs, 0), 1>, ISA_MIPS32R6;
 //===----------------------------------------------------------------------===//
----------------
We need GPR_32 on these so that they aren't available on MIPS64R6. 'jr' needs it too.


Repository:
  rL LLVM

http://reviews.llvm.org/D18856





More information about the llvm-commits mailing list