@@ -167,8 +167,7 @@ define i32 @freeze_ctlz_undef(i32 %a0) nounwind {
167167; X64-NEXT: movl $32, %eax
168168; X64-NEXT: cmovnel %ecx, %eax
169169; X64-NEXT: retq
170- %f0 = freeze i32 %a0
171- %x = call i32 @llvm.ctlz.i32 (i32 %f0 , i1 -1 )
170+ %x = call i32 @llvm.ctlz.i32 (i32 %a0 , i1 -1 )
172171 %f = freeze i32 %x
173172 %c = icmp eq i32 %a0 , 0
174173 %r = select i1 %c , i32 32 , i32 %f
@@ -196,8 +195,7 @@ define i32 @freeze_ctlz_undef_nonzero(i32 %a0) nounwind {
196195; X64-NEXT: movl $32, %eax
197196; X64-NEXT: cmovnel %ecx, %eax
198197; X64-NEXT: retq
199- %f0 = freeze i32 %a0
200- %y = or i32 %f0 , 1
198+ %y = or i32 %a0 , 1
201199 %x = call i32 @llvm.ctlz.i32 (i32 %y , i1 -1 )
202200 %f = freeze i32 %x
203201 %c = icmp eq i32 %y , 0
@@ -240,8 +238,7 @@ define i32 @freeze_cttz_undef(i32 %a0) nounwind {
240238; X64-NEXT: movl $32, %eax
241239; X64-NEXT: cmovnel %ecx, %eax
242240; X64-NEXT: retq
243- %f0 = freeze i32 %a0
244- %x = call i32 @llvm.cttz.i32 (i32 %f0 , i1 -1 )
241+ %x = call i32 @llvm.cttz.i32 (i32 %a0 , i1 -1 )
245242 %f = freeze i32 %x
246243 %c = icmp eq i32 %a0 , 0
247244 %r = select i1 %c , i32 32 , i32 %f
@@ -265,8 +262,7 @@ define i32 @freeze_cttz_undef_nonzero(i32 %a0) nounwind {
265262; X64-NEXT: movl $32, %eax
266263; X64-NEXT: cmovnel %ecx, %eax
267264; X64-NEXT: retq
268- %f0 = freeze i32 %a0
269- %y = or i32 %f0 , 1
265+ %y = or i32 %a0 , 1
270266 %x = call i32 @llvm.cttz.i32 (i32 %y , i1 -1 )
271267 %f = freeze i32 %x
272268 %c = icmp eq i32 %y , 0
0 commit comments