[llvm-branch-commits] [llvm] 7b881a6 - Fix new test from 1d28c37d after the revert
Jon Roelofs via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Nov 15 09:50:33 PST 2026
Author: Jon Roelofs
Date: 2026-11-15T09:50:15-08:00
New Revision: 7b881a6f9db173fb9311848f95a3f7dfb479cdc7
URL: https://github.com/llvm/llvm-project/commit/7b881a6f9db173fb9311848f95a3f7dfb479cdc7
DIFF: https://github.com/llvm/llvm-project/commit/7b881a6f9db173fb9311848f95a3f7dfb479cdc7.diff
LOG: Fix new test from 1d28c37d after the revert
Added:
Modified:
llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll b/llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll
index 33181f1fdd4b4..055fae2fa7708 100644
--- a/llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll
+++ b/llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll
@@ -28,7 +28,9 @@ define <2 x i1> @sadd_vec_opposite_signs(<2 x i8> %v, <2 x i8> %w) {
; CHECK-SAME: <2 x i8> [[V:%.*]], <2 x i8> [[W:%.*]]) {
; CHECK-NEXT: [[A:%.*]] = lshr <2 x i8> [[V]], splat (i8 1)
; CHECK-NEXT: [[B:%.*]] = or <2 x i8> [[W]], splat (i8 -128)
-; CHECK-NEXT: ret <2 x i1> zeroinitializer
+; CHECK-NEXT: [[R:%.*]] = call { <2 x i8>, <2 x i1> } @llvm.sadd.with.overflow.v2i8(<2 x i8> [[A]], <2 x i8> [[B]])
+; CHECK-NEXT: [[OV:%.*]] = extractvalue { <2 x i8>, <2 x i1> } [[R]], 1
+; CHECK-NEXT: ret <2 x i1> [[OV]]
;
%a = lshr <2 x i8> %v, splat (i8 1)
%b = or <2 x i8> %w, splat (i8 -128)
More information about the llvm-branch-commits
mailing list