diff --git a/include/llvm/IR/Metadata.h b/include/llvm/IR/Metadata.h index c402beb9006..241d5fe2ed2 100644 --- a/include/llvm/IR/Metadata.h +++ b/include/llvm/IR/Metadata.h @@ -616,11 +616,6 @@ public: static MDNode *get(LLVMContext &Context, ArrayRef MDs) { return getMDNode(Context, MDs, true); } - static MDNode *getWhenValsUnresolved(LLVMContext &Context, - ArrayRef MDs) { - // TODO: Remove this. - return get(Context, MDs); - } static MDNode *getIfExists(LLVMContext &Context, ArrayRef MDs) { return getMDNode(Context, MDs, false);