[PATCH] D148229: [DAGCombine][AArch64][CodeGen] Allow tranformable vectors to a legal for MULH lowering and use SVE's MULH for fixed vector types.

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 17:19:16 PDT 2023


dtemirbulatov updated this revision to Diff 514469.
dtemirbulatov added a comment.

Added check for vector types in combineShiftToMULH() that NarrowVT element type is equal to TransformVT or ignore the tranform.


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

https://reviews.llvm.org/D148229

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-mulh.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148229.514469.patch
Type: text/x-patch
Size: 39648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/6ab79898/attachment.bin>


More information about the llvm-commits mailing list