[PATCH] D84833: Implement indirect branch generation in position independent code for the RISC-V target

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 07:01:14 PDT 2020


jrtc27 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:398
+  MachineInstr &MI =
+      *BuildMI(MBB, DL, get(RISCV::PseudoJump), ScratchReg).addMBB(&DestBB);
 
----------------
I don't know how much it matters, but we know the register is dead here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84833/new/

https://reviews.llvm.org/D84833



More information about the llvm-commits mailing list