[PATCH] D92105: [RISCV] Add pre-emit pass to make more instructions compressible

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 15:46:07 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVCompressInstrs.cpp:201
+                                        RegImmPair RegImm,
+                                        SmallVector<MachineInstr *, 8> &MIs) {
+  const TargetRegisterInfo *TRI =
----------------
Use SmallVectorImpl so you don't need to repeat the 8 from the caller.


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

https://reviews.llvm.org/D92105



More information about the llvm-commits mailing list