[all-commits] [llvm/llvm-project] b17dd4: [RISCV] fix RISCVPushPopOptimizer pass
dlav-sc via All-commits
all-commits at lists.llvm.org
Wed Oct 2 17:19:29 PDT 2024
Branch: refs/heads/users/dlav-sc/riscv-push-pop-fix
Home: https://github.com/llvm/llvm-project
Commit: b17dd4b6c7c38b33d2f45bf1414cbac1acd949c6
https://github.com/llvm/llvm-project/commit/b17dd4b6c7c38b33d2f45bf1414cbac1acd949c6
Author: Daniil Avdeev <daniil.avdeev at syntacore.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
Log Message:
-----------
[RISCV] fix RISCVPushPopOptimizer pass
RISCVPushPopOptimizer pass didn't suggest that CFI instructions can be
inserted between cm.pop and ret and couldn't apply optimization in these
cases. The patch fix it and allows the pass to remove CFI instructions and
combine cm.pop and ret into the one instruction: cm.popret or cm.popretz.
Commit: 7bcd1bae6156d5e11eab5962619112030a8abd81
https://github.com/llvm/llvm-project/commit/7bcd1bae6156d5e11eab5962619112030a8abd81
Author: Daniil Avdeev <daniil.avdeev at syntacore.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
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
M llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
M llvm/test/CodeGen/RISCV/zcmp-cm-popretz.mir
M llvm/test/CodeGen/RISCV/zcmp-with-float.ll
Log Message:
-----------
[RISCV] update tests
Compare: https://github.com/llvm/llvm-project/compare/f4087cacbe78...7bcd1bae6156
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list