[PATCH] D87378: [SVE] Fix InstCombinerImpl::PromoteCastOfAllocation for scalable vectors

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 01:42:34 PDT 2020


david-arm updated this revision to Diff 292139.
david-arm edited the summary of this revision.
david-arm added a comment.

- Added support for 'promotion' of alloca type to the cast type when both types are scalable, have the same size and alignment.


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

https://reviews.llvm.org/D87378

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/AArch64/sve-cast-of-alloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87378.292139.patch
Type: text/x-patch
Size: 10662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/2676eb0a/attachment.bin>


More information about the llvm-commits mailing list