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

Madhur Amilkanthwar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 08:10:25 PST 2021


madhur13490 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.
----------------
I think braces are not required. You can hoist the comment above "if" block. It doesn't harm readability.


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