[PATCH] D148385: [RISCV] Implement KCFI operand bundle lowering for RV64

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 17 14:44:42 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:310
+    EmitToStreamer(*OutStreamer, MCInstBuilder(RISCV::ADDI)
+                                     .addReg(ScratchRegs[0])
+                                     .addReg(RISCV::X0)
----------------
craig.topper wrote:
> Are there two many operands here?
Err.   "too many"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148385



More information about the cfe-commits mailing list