[llvm] [IR] Verify parameters of TargetExtTypes (PR #105084)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 09:34:00 PDT 2024


================
@@ -723,6 +724,16 @@ static void forEachUser(const Value *User,
   }
 }
 
+void Verifier::visitTargetExtType(TargetExtType *TTy) {
----------------
jayfoad wrote:

I don't think the verifier has a good way to visit all used types, does it? This function is only called from visitGlobalVariable and visitAllocaInst which is clearly not exhaustive(!).

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


More information about the llvm-commits mailing list