[llvm] Match fixed width ISD::AVGFLOORS + ISD::AVGCEILS patterns (PR #86222)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 24 02:08:28 PDT 2024
================
@@ -879,6 +891,18 @@ define <8 x i16> @uhadd_fixedwidth_v4i32(<8 x i16> %a0, <8 x i16> %a1) {
ret <8 x i16> %res
}
+define <8 x i16> @shadd_fixedwidth_v4i32(<8 x i16> %a0, <8 x i16> %a1) {
----------------
RKSimon wrote:
shadd_fixedwidth_v4i32 -> shadd_fixedwidth_v8i16 (its matching the shsub instruction for v8i16 types)
https://github.com/llvm/llvm-project/pull/86222
More information about the llvm-commits
mailing list