[llvm] [PowerPC] eliminate RLWINM instruction following LBARX as possible (PR #144089)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 13:41:44 PDT 2025
================
@@ -1281,7 +1281,40 @@ bool PPCMIPeephole::simplifyCode() {
Simplified = true;
break;
}
- case PPC::RLWINM:
+ case PPC::RLWINM: {
----------------
RolandF77 wrote:
Can you explain why this is done in PPCMIPeephole rather than fixing it in the DAG stage?
https://github.com/llvm/llvm-project/pull/144089
More information about the llvm-commits
mailing list