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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 00:03:33 PDT 2025


================
@@ -5339,6 +5339,17 @@ struct AAPotentialConstantValues
     return nullptr;
   }
 
+  /// Return the minimum trailing zeros of potential constants
+  unsigned getAssumedMinTrailingZeros() const {
+    if (getAssumedSet().empty())
+      return 0;
----------------
arsenm wrote:

Don't need this early exit 

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


More information about the llvm-commits mailing list