[llvm] [PowerPC] eliminate RLWINM instruction following LBARX as possible (PR #144089)

zhijian lin via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 11:38:56 PDT 2025


================
@@ -1281,7 +1281,40 @@ bool PPCMIPeephole::simplifyCode() {
         Simplified = true;
         break;
       }
-      case PPC::RLWINM:
+      case PPC::RLWINM: {
----------------
diggerlin wrote:

thanks for the code.

https://github.com/llvm/llvm-project/pull/144089


More information about the llvm-commits mailing list