[llvm] [BasicAA][TLI] Local-linkage or non-thread-local globals may not alias errno (PR #170290)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 6 07:46:04 PST 2025


================
@@ -601,6 +605,12 @@ class TargetLibraryInfo {
   bool isKnownVectorFunctionInLibrary(StringRef F) const {
     return this->isFunctionVectorizable(F);
   }
+
+  /// Returns whether the name of the global variable is associated to the
+  /// representation of the errno storage. Returns true if could not determined.
----------------
dtcxzyw wrote:

```suggestion
  /// representation of the errno storage. Returns true if it could not be determined.
```

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


More information about the llvm-commits mailing list