[llvm] [AArch64] Utilize `XAR` for certain vector rotates (PR #137629)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 00:45:18 PDT 2025


================
@@ -4570,11 +4588,11 @@ bool AArch64DAGToDAGISel::trySelectXAR(SDNode *N) {
     if (ShlAmt + ShrAmt != VT.getScalarSizeInBits())
       return false;
 
-    SDLoc DL(N);
+    SDLoc DLImm(N);
----------------
davemgreen wrote:

This can use `DL`, same for DLImm below.

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


More information about the llvm-commits mailing list