[PATCH] D64318: Make sret parameter work with AddMissingPrototypes

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 03:30:07 PDT 2019


sbc100 accepted this revision.
sbc100 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp:83
+      for (Argument &A : F.args())
+        if (!A.hasStructRetAttr())
+          report_fatal_error("Functions with 'no-prototype' attribute should "
----------------
Is there some kind of "any" construct in llvm that could take A.hasStructRetAttr as a predicate?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64318





More information about the llvm-commits mailing list