@@ -167,8 +167,7 @@ define i32 @freeze_ctlz_undef(i32 %a0) nounwind {
167
167
; X64-NEXT: movl $32, %eax
168
168
; X64-NEXT: cmovnel %ecx, %eax
169
169
; 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 )
172
171
%f = freeze i32 %x
173
172
%c = icmp eq i32 %a0 , 0
174
173
%r = select i1 %c , i32 32 , i32 %f
@@ -196,8 +195,7 @@ define i32 @freeze_ctlz_undef_nonzero(i32 %a0) nounwind {
196
195
; X64-NEXT: movl $32, %eax
197
196
; X64-NEXT: cmovnel %ecx, %eax
198
197
; X64-NEXT: retq
199
- %f0 = freeze i32 %a0
200
- %y = or i32 %f0 , 1
198
+ %y = or i32 %a0 , 1
201
199
%x = call i32 @llvm.ctlz.i32 (i32 %y , i1 -1 )
202
200
%f = freeze i32 %x
203
201
%c = icmp eq i32 %y , 0
@@ -240,8 +238,7 @@ define i32 @freeze_cttz_undef(i32 %a0) nounwind {
240
238
; X64-NEXT: movl $32, %eax
241
239
; X64-NEXT: cmovnel %ecx, %eax
242
240
; 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 )
245
242
%f = freeze i32 %x
246
243
%c = icmp eq i32 %a0 , 0
247
244
%r = select i1 %c , i32 32 , i32 %f
@@ -265,8 +262,7 @@ define i32 @freeze_cttz_undef_nonzero(i32 %a0) nounwind {
265
262
; X64-NEXT: movl $32, %eax
266
263
; X64-NEXT: cmovnel %ecx, %eax
267
264
; X64-NEXT: retq
268
- %f0 = freeze i32 %a0
269
- %y = or i32 %f0 , 1
265
+ %y = or i32 %a0 , 1
270
266
%x = call i32 @llvm.cttz.i32 (i32 %y , i1 -1 )
271
267
%f = freeze i32 %x
272
268
%c = icmp eq i32 %y , 0
0 commit comments