llvm.org GIT mirror llvm / b2b3e65
Fix typo in constant vector git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355405 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 7 months ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
135135 ; SSE: # %bb.0:
136136 ; SSE-NEXT: pcmpeqd %xmm3, %xmm3
137137 ; SSE-NEXT: pxor %xmm3, %xmm0
138 ; SSE-NEXT: movdqa {{.*#+}} xmm2 = [1,1,1,4294967295]
139 ; SSE-NEXT: paddd %xmm0, %xmm2
138 ; SSE-NEXT: movdqa %xmm0, %xmm2
139 ; SSE-NEXT: psubd %xmm3, %xmm2
140140 ; SSE-NEXT: pmaxud %xmm2, %xmm0
141141 ; SSE-NEXT: pcmpeqd %xmm2, %xmm0
142142 ; SSE-NEXT: pxor %xmm3, %xmm0
148148 ; AVX: # %bb.0:
149149 ; AVX-NEXT: vpcmpeqd %xmm2, %xmm2, %xmm2
150150 ; AVX-NEXT: vpxor %xmm2, %xmm0, %xmm0
151 ; AVX-NEXT: vpaddd {{.*}}(%rip), %xmm0, %xmm3
151 ; AVX-NEXT: vpsubd %xmm2, %xmm0, %xmm3
152152 ; AVX-NEXT: vpmaxud %xmm0, %xmm3, %xmm0
153153 ; AVX-NEXT: vpcmpeqd %xmm0, %xmm3, %xmm0
154154 ; AVX-NEXT: vpxor %xmm2, %xmm0, %xmm0
155155 ; AVX-NEXT: vblendvps %xmm0, %xmm1, %xmm3, %xmm0
156156 ; AVX-NEXT: retq
157157 %1 = xor <4 x i32> %a0,
158 %2 = call {<4 x i32>, <4 x i1>} @llvm.uadd.with.overflow.v4i32(<4 x i32> %1, <4 x i32> -1>)
158 %2 = call {<4 x i32>, <4 x i1>} @llvm.uadd.with.overflow.v4i32(<4 x i32> %1, <4 x i32> 1>)
159159 %3 = extractvalue {<4 x i32>, <4 x i1>} %2, 0
160160 %4 = extractvalue {<4 x i32>, <4 x i1>} %2, 1
161161 %5 = select <4 x i1> %4, <4 x i32> %a1, <4 x i32> %3