[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 04:50:08 PDT 2020


c-rhodes updated this revision to Diff 253080.
c-rhodes retitled this revision from "[Transforms][SROA] Disable pass for scalable vectors" to "[Transforms][SROA] Promote allocas with mem2reg for scalable  types".
c-rhodes edited the summary of this revision.
c-rhodes added a comment.

- Run mem2reg for scalable types from SROA.
- Fix warning `warning: inline function 'llvm::Type::getVectorIsScalable' is not defined` reported by Harbor by moving implementation to Type.cpp.


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

https://reviews.llvm.org/D76720

Files:
  llvm/include/llvm/IR/Type.h
  llvm/lib/IR/Type.cpp
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/scalable-vectors.ll

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


More information about the llvm-commits mailing list