[llvm] [LLVM-Reduce] - Distinct Metadata Reduction (PR #96072)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 23:34:54 PDT 2024
================
@@ -28,40 +28,24 @@ static bool shouldKeepDebugNamedMetadata(NamedMDNode &MD) {
return MD.getName() == "llvm.dbg.cu" && MD.getNumOperands() != 0;
}
-// Named metadata with simple list-like behavior, so that it's valid to remove
-// operands individually.
----------------
arsenm wrote:
We should preserve this. If we want a mode where we blindly rip operands out of anything we don't understand, probably should be a flag
https://github.com/llvm/llvm-project/pull/96072
More information about the llvm-commits
mailing list