[llvm] [AArch64] Use add_like for new uaddlp patterns (PR #195024)

Rajveer Singh Bharadwaj via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 06:09:54 PDT 2026


================
@@ -53,13 +53,58 @@ start:
   ret <2 x i64> %4
 }
 
+define <8 x i16> @vpaddlq_or_v16i8(<16 x i8> %a) {
+; CHECK-LABEL: vpaddlq_or_v16i8:
+; CHECK:       // %bb.0: // %start
+; CHECK-NEXT:    addp v0.16b, v0.16b, v0.16b
+; CHECK-NEXT:    ushll v0.8h, v0.8b, #0
----------------
Rajveer100 wrote:

Shouldn't these be yielding `uaddlp`, is `add_like` not catching the `disjoint or` here and all other test cases?

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


More information about the llvm-commits mailing list