[PATCH] D102253: [LV] Prevent vectorization with unsupported element types.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 17:07:28 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1508
+
+  if (supportsScalableVectors()) {
+    return isLegalElementTypeForSVE(Ty);
----------------
sdesmalen wrote:
> nit: unnecessary braces
Does this change the behavior of fixed length vectorization of unsupported types when SVE is enabled even when SVE isn't being used for fixed vectors?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102253



More information about the llvm-commits mailing list