[PATCH] D95245: [SVE] Add support for scalable vectorization of loops with int/fast FP reductions

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 00:42:37 PST 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1098
+  Type *Ty = RdxDesc.getRecurrenceType();
+  if (Ty->getScalarSizeInBits() > 64)
+    return false;
----------------
Thanks. This looks like it should work for most current types. Are bfloats always supported? It may be better to be more specific in case other smaller-than-64bit float types are added in the future.


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

https://reviews.llvm.org/D95245



More information about the llvm-commits mailing list