[PATCH] D76720: [Transforms][SROA] Promote allocas with mem2reg for scalable types

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 10:55:35 PDT 2020


c-rhodes updated this revision to Diff 253168.
c-rhodes added a comment.

- Removed `isScalableVectorTy` and replaced uses in SROA with `isa<VectorType>` and `cast<VectorType>(VecTy)->isScalable()`.


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

https://reviews.llvm.org/D76720

Files:
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/scalable-vectors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76720.253168.patch
Type: text/x-patch
Size: 22508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/95a31cf4/attachment.bin>


More information about the llvm-commits mailing list