[PATCH] D147716: [FastISel] Correctly report prototype on miss

Alexis Engelke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 02:49:21 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8e59fe2d8e62: [FastISel] Correctly report prototype on miss (authored by aengelke).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147716/new/

https://reviews.llvm.org/D147716

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1449,7 +1449,7 @@
                                  Fn.getSubprogram(),
                                  &Fn.getEntryBlock());
       R << "FastISel didn't lower all arguments: "
-        << ore::NV("Prototype", Fn.getType());
+        << ore::NV("Prototype", Fn.getFunctionType());
       reportFastISelFailure(*MF, *ORE, R, EnableFastISelAbort > 1);
 
       // Use SelectionDAG argument lowering


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147716.512379.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/91324021/attachment.bin>


More information about the llvm-commits mailing list