[llvm] [AMDGPU][SplitModule] Handle !callees metadata (PR #108802)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 11:21:42 PDT 2024


================
@@ -562,6 +564,9 @@ void SplitGraph::buildGraph(CallGraph &CG) {
 
         if (handleCalleesMD(Inst, KnownCallees))
           continue;
+        // If we failed to parse any !callees MD, or some was missing,
+        // the entire KnownCallees list is now unreliable.
----------------
arsenm wrote:

Sounds like the verifier is missing validation on callees entries? You shouldn't really have to worry about parsing it

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


More information about the llvm-commits mailing list