diff --git a/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp b/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp index 6c35f60b07be7..a2afe1e01865d 100644 --- a/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp +++ b/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp @@ -562,7 +562,9 @@ void LibcallPredicateExpander::expand(SetTheory &ST, const Record *Def, auto [It, Inserted] = Func2Preds.insert({LibcallImpl, {{}, CCClass}}); if (!Inserted) { PrintError( - Def, "combining nested libcall set predicates currently unhandled"); + Def, + "combining nested libcall set predicates currently unhandled: '" + + LibcallImpl->getLibcallFuncName() + "'"); } It->second.first.push_back(AP.getDef());