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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 2 20:33:44 PST 2025


================
@@ -5185,6 +5185,33 @@ struct AADereferenceableCallSiteReturned final
 // ------------------------ Align Argument Attribute ------------------------
 
 namespace {
+
+static Align getAssumedAlignForIntrinsic(Attributor &A, AAAlign &QueryingAA,
----------------
shiltian wrote:

Since the known one gets inlined, this one can probably be as well.

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


More information about the llvm-commits mailing list