[llvm] [RFC] IR: Define noalias.addrspace metadata (PR #102461)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 07:45:17 PDT 2024


================
@@ -760,7 +761,7 @@ void Verifier::visitGlobalValue(const GlobalValue &GV) {
     if (const MDNode *AbsoluteSymbol =
             GO->getMetadata(LLVMContext::MD_absolute_symbol)) {
       verifyRangeMetadata(*GO, AbsoluteSymbol, DL.getIntPtrType(GO->getType()),
-                          true);
+                          true, false);
----------------
shiltian wrote:

```suggestion
                          /*IsAbsoluteSymbol=*/true, /*IsAddrSpaceRange=*/false);
```
Even though `IsAbsoluteSymbol` is not related to this PR.

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


More information about the llvm-commits mailing list