llvm2alive: ignore irce & nosanitize metadata
MODIFY
llvm_util/llvm2alive.cpp
llvm_util/llvm2alive.cpp
@@ -1220,11 +1220,16 @@ public:
// non-relevant for correctness
case LLVMContext::MD_loop:
+ case LLVMContext::MD_nosanitize:
case LLVMContext::MD_prof:
case LLVMContext::MD_unpredictable:
break;
default:
+ // non-relevant for correctness
+ if (ID == Node->getContext().getMDKindID("irce.loop.clone"))
+ break;
+
// For the target, dropping metadata is fine as metadata will never turn
// a incorrect function into a correct one.
if (!IsSrc)

llvm2alive: ignore irce & nosanitize metadata