[PATCH] D114155: [LoopAccessAnalysis][SVE] Bail out for scalable vectors

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 08:37:54 PST 2021


peterwaller-arm added inline comments.


================
Comment at: llvm/lib/Analysis/LoopAccessAnalysis.cpp:1105
+  TypeSize AllocSize = DL.getTypeAllocSize(AccessTy);
+  if (AllocSize.isScalable()) {
+    // Scalable types not yet supported - give up.
----------------
madhur13490 wrote:
> I think braces are not required. You can hoist the comment above "if" block. It doesn't harm readability.
You are right, thanks! I've been programming too much rust recently :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114155



More information about the llvm-commits mailing list