[PATCH] D21370: [mips] Emit a JALR with $rd equal to $zero, instead of a JR in MIPS32R6.

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 07:53:15 PDT 2016

sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.


In principle, you could exploit a redundancy in the pre-MIPSR6 instruction set to simply always emit "jalr, $zero, $at" rather than switching on the ISA.

I believe it is best that we do switch on ISA for clearer disassembly though.


More information about the llvm-commits mailing list