[PATCH] D82524: [SVE][CodeGen] Fix bug when falling back to DAG ISel

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 09:42:42 PDT 2020


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp:431
+bool AArch64CallLowering::fallBackToDAGISel(const Function &F) const {
+  for (const auto &Arg : F.args()) {
+    if (isa<ScalableVectorType>(Arg.getType()))
----------------
Should this function also check the return value?

nit: use `llvm::any_of` instead of a loop?


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

https://reviews.llvm.org/D82524





More information about the llvm-commits mailing list