[SystemZ] make test immune to scalarization improvements; NFC
The undef operands mean this test is probably still too fragile
to accomplish what the comments suggest.
diff --git a/llvm/test/CodeGen/SystemZ/dag-combine-03.ll b/llvm/test/CodeGen/SystemZ/dag-combine-03.ll
index bcb7528..c197c9a 100644
--- a/llvm/test/CodeGen/SystemZ/dag-combine-03.ll
+++ b/llvm/test/CodeGen/SystemZ/dag-combine-03.ll
@@ -10,9 +10,12 @@
lab0:
%phi = phi i64 [ %sel, %lab0 ], [ 0, %entry ]
%add = add nuw nsw i64 %phi, 1
+ %add2 = add nuw nsw i64 %phi, 2
%cmp = icmp eq i64 %add, undef
+ %cmp2 = icmp eq i64 %add2, undef
%ins = insertelement <2 x i1> undef, i1 %cmp, i32 0
- %xor = xor <2 x i1> %ins, <i1 true, i1 true>
+ %ins2 = insertelement <2 x i1> undef, i1 %cmp2, i32 0
+ %xor = xor <2 x i1> %ins, %ins2
%extr = extractelement <2 x i1> %xor, i32 0
; The EXTRACT_VECTOR_ELT is done first into an i32, and then AND:ed with
; 1. The AND is not actually necessary since the element contains a CC (i1)