[all-commits] [llvm/llvm-project] b8b075: [AArch64][SVE] Lower MULHU/MULHS nodes to umulh/sm...
Bradley Smith via All-commits
all-commits at lists.llvm.org
Tue Apr 20 07:19:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8b075d8d744a84de60171c6395fc7c6190d21ca
https://github.com/llvm/llvm-project/commit/b8b075d8d744a84de60171c6395fc7c6190d21ca
Author: Bradley Smith <bradley.smith at arm.com>
Date: 2021-04-20 (Tue, 20 Apr 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
A llvm/test/CodeGen/AArch64/sve-expand-div.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-int-div.ll
A llvm/test/CodeGen/AArch64/sve-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll
A llvm/test/CodeGen/AArch64/sve-int-mulh-pred.ll
A llvm/test/CodeGen/AArch64/sve2-int-mulh.ll
Log Message:
-----------
[AArch64][SVE] Lower MULHU/MULHS nodes to umulh/smulh instructions
Mark MULHS/MULHU nodes as legal for both scalable and fixed SVE types,
and lower them to the appropriate SVE instructions.
Additionally now that the MULH nodes are legal, integer divides can be
expanded into a more performant code sequence.
Differential Revision: https://reviews.llvm.org/D100487
More information about the All-commits
mailing list