2 Commits

Author SHA1 Message Date
Alex Bradbury
cde5e4281b [RISCV][NFC] Get rid of additional unneeded static_cast around RISCVSubtarget
Some similar cases to 60152f1983336e709.
2023-07-20 14:37:58 +01:00
WuXinlong
c0221e006d [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
2023-07-07 14:04:11 +08:00