[llvm] [Attributor] Propagate alignment through ptrmask (PR #150158)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 20:03:49 PDT 2025


================
@@ -5202,6 +5252,8 @@ static unsigned getKnownAlignForUse(Attributor &A, AAAlign &QueryingAA,
       TrackUse = true;
     return 0;
   }
+  if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
+    return getKnownAlignForIntrinsic(A, QueryingAA, *II).value();
----------------
Shoreshen wrote:

Hi @shiltian inlined

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


More information about the llvm-commits mailing list