[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 13:43:19 PDT 2020


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

Fix bug in branch where allocas with scalable types that aren’t promotable could still be added to worklist and subsequently passed to runOnAlloca where asserts would be triggered as this is now fixed-width. Thanks for spotting @efriedma.


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.253206.patch
Type: text/x-patch
Size: 22525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/c96e4bdd/attachment.bin>


More information about the llvm-commits mailing list