[llvm] [AArch64] Add bitcasts for lowering saturating add/sub and shift intrinsics. (PR #161840)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 03:39:04 PST 2025


================
@@ -346,6 +346,9 @@ def SDTAtomicStore : SDTypeProfile<0, 2, [
 def SDTAtomicLoad : SDTypeProfile<1, 1, [
   SDTCisPtrTy<1>
 ]>;
+def SDTFPMulOp : SDTypeProfile<1, 2, [
+  SDTCisSameAs<1, 2>, SDTCisFP<0>, SDTCisFP<1>
+]>;
----------------
Lukacma wrote:

It's not the same unfortunately. SDTFPBinOp, requires all operands (1 result, 2 inputs) to have same FP type, which is not the case for sqdmull, as result has double the width of the inputs.

https://github.com/llvm/llvm-project/pull/161840


More information about the llvm-commits mailing list