[PATCH] D90230: [SVE] Add fatal error for unnamed SVE variadic arguments

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 09:33:58 PDT 2020


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:4802
+      if (ArgVT.isScalableVector())
+        report_fatal_error("Passing SVE types to variadic functions is "
+                           "currently not supported");
----------------
Does this also report a fatal error if `ArgVT` is a named argument?

i.e. `declare i32 @sve_printf(i8*, <vscale x 4 x i32> %v, ...)` and then calling with:
  call i32 (i8*, <vscale x 4 x i32>, ...) @sve_printf(i8* %f, <vscale x 4 x i32> %x)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90230



More information about the llvm-commits mailing list