[PATCH] D134599: [RISCV] Add CodeGen support of RISCV zcmp Extension
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 19:45:44 PDT 2023
kito-cheng added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:280
+
+ // Use available stack adjustment in Zc PUSH/POP instruction
+ // to allocate/deallocate space on stack.
----------------
Zcmp
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:300
+
+// Checks if Zc PUSH/POP instructions can be used with the given CSI.
+bool RISCVFrameLowering::isCSIpushable(
----------------
Zcmp
================
Comment at: llvm/lib/Target/RISCV/RISCVMoveOptimizer.cpp:19
+
+#define RISCV_MOVE_OPT_NAME "RISC-V Zc move merging pass"
+
----------------
Zcmp
================
Comment at: llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp:20
+
+#define RISCV_PUSH_POP_OPT_NAME "RISC-V Zc Push/Pop optimization pass"
+
----------------
Zcmp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134599/new/
https://reviews.llvm.org/D134599
More information about the llvm-commits
mailing list