Mircea Trofin 6d4d017fd2
[llvm-extract] Delete dead CG Profile edges (#134940)
When `llvm-extract`-ing a function, and the `CG Profile` flag is present in the original module, we end up with lots of `!{null, null, i64 1234}` entries for call edges that have disappeared as result of the removed functions.

This patch fixes that by adding a pass to `llvm-extract` that finds `CG Profile` edges with one or both operands `null` and removes them. This results in a cleaner output.
2025-04-09 10:36:12 -07:00
..
2025-04-08 19:34:03 -07:00