[llvm] [BasicAA] Gracefully handle large LocationSize (PR #138528)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon May 5 13:29:59 PDT 2025


================
@@ -0,0 +1,14 @@
+; RUN: opt -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
+
+target datalayout = "p:32:32"
+
+; Make sure that using a LocationSize larget than the index space does not
+; assert.
+
+; Just Mod:  Ptr: i32* %gep	<->  call void @llvm.memset.p0.i64(ptr %p, i8 0, i64 68719476736, i1 false)
----------------
nikic wrote:

Oops, looks like I never actually ran the new test...

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


More information about the llvm-commits mailing list