[llvm] [PowerPC] Add intrinsic definition for load and store with Right Length Left-justified (PR #148873)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 09:16:56 PDT 2025


================
@@ -82,3 +82,23 @@ let Predicates = [HasVSX, IsISAFuture] in {
                                    "stxvprll $XTp, $RA, $RB", IIC_LdStLFD, []>;
   }
 }
+
+// Load/Store VSX Vector with Right Length Left-justified.
+foreach Ty = [v4i32, v2i64] in {
+  def : Pat<(Ty (int_ppc_vsx_lxvrl addr:$RA, i64:$RB)),
+            (LXVRL memr:$RA, g8rc:$RB)>;
----------------
lei137 wrote:

```suggestion
            (LXVRL $RA, $RB)>;
```

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


More information about the llvm-commits mailing list