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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 07:46:20 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:

I'm actually thinking maybe it's time to introduce an enum to tell what the kind of range metadata it is.

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


More information about the llvm-commits mailing list