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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 21:22:01 PDT 2025


================
@@ -5501,6 +5556,17 @@ struct AAAlignCallSiteReturned final
   AAAlignCallSiteReturned(const IRPosition &IRP, Attributor &A)
       : Base(IRP, A) {}
 
+  ChangeStatus updateImpl(Attributor &A) override {
+    Instruction *I = getIRPosition().getCtxI();
----------------
shiltian wrote:

Hmm, I c, that makes sense.

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


More information about the llvm-commits mailing list