[llvm] [MemProf] Fix clone edge comparison (PR #113753)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 26 17:13:37 PDT 2024


================
@@ -942,6 +945,46 @@ bool allocTypesMatch(
       });
 }
 
+// Helper to check if the alloc types for all edges recorded in the
+// InAllocTypes vector match the alloc types for callee edges in the given
+// Clone. Because the InAllocTypes were computed from the original node's callee
----------------
snehasish wrote:

nit: s/Clone/clone.

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


More information about the llvm-commits mailing list