[PATCH] D100487: [AArch64][SVE] Lower MULHU/MULHS nodes to umulh/smulh instructions

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 08:28:49 PDT 2021


bsmith created this revision.
bsmith added reviewers: joechrisellis, peterwaller-arm, paulwalker-arm, SanderSpies.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Mark MULHS/MULHU nodes as legal for both scalable and fixed SVE types,
and lower them to the appropriate SVE instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100487

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-mulh.ll
  llvm/test/CodeGen/AArch64/sve-int-mulh-pred.ll
  llvm/test/CodeGen/AArch64/sve2-int-mulh.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100487.337466.patch
Type: text/x-patch
Size: 58668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/a794f142/attachment.bin>


More information about the llvm-commits mailing list