[PATCH] D71823: Support Swift calling convention for WebAssembly targets

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 11 09:42:08 PST 2020


sbc100 added inline comments.


================
Comment at: clang/lib/Basic/Targets/WebAssembly.h:122
+    case CC_Swift:
+      return CCCR_OK;
+    default:
----------------
This seems to disagree with the longer list in `callingConvSupported`.    Is this going to generate unnecessary warnings?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71823





More information about the llvm-commits mailing list