[PATCH] D158386: [AArch64][SME] Promote mask for masked load to a similar type size with load value.

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 20 22:13:32 PDT 2023


dtemirbulatov created this revision.
dtemirbulatov added reviewers: sdesmalen, hassnaa-arm, kmclaughlin, MattDevereau, benmxwl-arm.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dtemirbulatov requested review of this revision.
Herald added a project: LLVM.

I noticed that legalizer could keep an original mask type of masked load combined with sign/zero extend, but we have to extend the mask to a type similar to our combined load otherwise instruction selection could not lower the load.


https://reviews.llvm.org/D158386

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158386.551898.patch
Type: text/x-patch
Size: 6574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/aa3350ff/attachment.bin>


More information about the llvm-commits mailing list