[llvm] [Loads] Also use isAligned when checking assumptions. (PR #120916)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 05:07:07 PST 2024


================
@@ -173,9 +173,11 @@ static bool isDereferenceableAndAlignedPointer(
 
   if (CtxI) {
     /// Look through assumes to see if both dereferencability and alignment can
-    /// be provent by an assume
+    /// be provent by an assume if needed.
----------------
fhahn wrote:

Done thanks

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


More information about the llvm-commits mailing list