[llvm] [BasicAA][TLI] Treat local-linkage globals or known environments as not aliasing errno (PR #170290)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 4 04:09:19 PST 2026


================
@@ -748,7 +749,7 @@ class LLVM_ABI AAResults::Concept {
   /// Returns an AliasResult indicating whether a specific memory location
   /// aliases errno.
   virtual AliasResult aliasErrno(const MemoryLocation &Loc,
-                                 const Module *M) = 0;
+                                 const CallBase *Call) = 0;
----------------
antoniofrighetto wrote:

Definitely, thanks.

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


More information about the llvm-commits mailing list