[llvm] [RISCV] Add Stackmap/Statepoint/Patchpoint support with targets (PR #77337)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 09:53:09 PST 2024


================
@@ -469,6 +470,46 @@ InstSeq generateTwoRegInstSeq(int64_t Val, const MCSubtargetInfo &STI,
   return RISCVMatInt::InstSeq();
 }
 
+SmallVector<MCInst, 8>
+generateMCInstSeq(int64_t Val, const MCSubtargetInfo &STI, MCRegister DestReg) {
+  RISCVMatInt::InstSeq Seq = RISCVMatInt::generateInstSeq(Val, STI);
+
+  SmallVector<MCInst, 8> instructions;
----------------
topperc wrote:

Capitalize variable names

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


More information about the llvm-commits mailing list