Skip to content

Commit

Permalink
[RISCV][NFC] Correct/clarify RISCVPushPopOptimizer.cpp header comment
Browse files Browse the repository at this point in the history
Refer to Zcmp rather than Zca. Also, this pass will only modify POP
instructions (replacing with POPRET if possible).
  • Loading branch information
asb committed Oct 10, 2023
1 parent 0c8c9e8 commit fc654b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
//
//===----------------------------------------------------------------------===//
//
// This file contains a pass that modifies PUSH/POP instructions from Zca
// standard to use their non prolog/epilog related functionalities
// and generates POPRET instruction.
// This file contains a pass that replaces Zcmp POP instructions with
// POPRET[Z] where possible.
//
//===----------------------------------------------------------------------===//

Expand Down

0 comments on commit fc654b4

Please sign in to comment.