[PATCH] D98101: [RISCV] Enable the LocalStackSlotAllocation pass support

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 21:52:37 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp:389
+                                       "FrameIndex operand");
+  return MI->getOperand(Idx + 1).getImm();
+}
----------------
Should we assert that it is I or S format?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98101



More information about the llvm-commits mailing list