[llvm] 0a9ca5d - TableGen: Add failing function to libcall emitter error message (#153390)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 13 07:15:50 PDT 2025


Author: Matt Arsenault
Date: 2025-08-13T23:15:47+09:00
New Revision: 0a9ca5d7da1bf6111979b8076895162605108815

URL: https://github.com/llvm/llvm-project/commit/0a9ca5d7da1bf6111979b8076895162605108815
DIFF: https://github.com/llvm/llvm-project/commit/0a9ca5d7da1bf6111979b8076895162605108815.diff

LOG: TableGen: Add failing function to libcall emitter error message (#153390)

Added: 
    

Modified: 
    llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

Removed: 
    


################################################################################
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());


        


More information about the llvm-commits mailing list