[llvm] [AArch64] Use sve instructions for fixed-width smulh/umulh. (PR #166168)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 05:31:13 PST 2025
================
@@ -1844,6 +1844,8 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
MVT::v4i32, MVT::v1i64, MVT::v2i64}) {
setOperationAction(ISD::SDIV, VT, Custom);
setOperationAction(ISD::UDIV, VT, Custom);
+ setOperationAction(ISD::MULHS, VT, Custom);
----------------
david-arm wrote:
nit: Perhaps worth updating the comment above the for loop?
https://github.com/llvm/llvm-project/pull/166168
More information about the llvm-commits
mailing list