[all-commits] [llvm/llvm-project] c0221e: [RISCV] Add a pass to combine `cm.pop` and `ret` i...
VincentWu via All-commits
all-commits at lists.llvm.org
Thu Jul 6 23:04:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c0221e006d47ed24c4562f264411943596a6800e
https://github.com/llvm/llvm-project/commit/c0221e006d47ed24c4562f264411943596a6800e
Author: WuXinlong <821408745 at qq.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M llvm/lib/Target/RISCV/CMakeLists.txt
M llvm/lib/Target/RISCV/RISCV.h
A llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/callee-saved-gprs.ll
M llvm/test/CodeGen/RISCV/cm_mvas_mvsa.ll
M llvm/test/CodeGen/RISCV/push-pop-popret.ll
Log Message:
-----------
[RISCV] Add a pass to combine `cm.pop` and `ret` insts
`RISCVPushPopOptimizer.cpp` combine `cm.pop` and `ret` to generates `cm.popretz` or `cm.popret` .
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D150416
More information about the All-commits
mailing list