[llvm] [GlobalISel] Combine into abd[su] and legalize abd[su] (PR #118865)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 09:58:49 PST 2024
================
@@ -312,10 +472,15 @@ define <8 x i16> @abdu_i_reassoc(<8 x i16> %src1) {
define <8 x i16> @abds_base(<8 x i16> %src1, <8 x i16> %src2) {
-; CHECK-LABEL: abds_base:
-; CHECK: // %bb.0:
-; CHECK-NEXT: sabd v0.8h, v0.8h, v1.8h
-; CHECK-NEXT: ret
+; CHECK-SD-LABEL: abds_base:
+; CHECK-SD: // %bb.0:
+; CHECK-SD-NEXT: sabd v0.8h, v0.8h, v1.8h
+; CHECK-SD-NEXT: ret
+;
+; CHECK-GI-LABEL: abds_base:
+; CHECK-GI: // %bb.0:
+; CHECK-GI-NEXT: sabd v0.8h, v0.8h, v0.8h
----------------
tschuett wrote:
Common problem.
https://github.com/llvm/llvm-project/pull/118865
More information about the llvm-commits
mailing list