Skip to content

Commit 6a7e2bd

Browse files
committed
[InstCombine]: Use other use2 function
1 parent 07bdb2c commit 6a7e2bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Transforms/InstCombine/icmp-trunc.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,12 +791,12 @@ define i1 @trunc_icmp(i8 %a0) {
791791
; CHECK-NEXT: [[TZ:%.*]] = tail call range(i8 0, 9) i8 @llvm.cttz.i8(i8 [[A0:%.*]], i1 false)
792792
; CHECK-NEXT: [[TR:%.*]] = trunc nuw i8 [[TZ]] to i4
793793
; CHECK-NEXT: [[C:%.*]] = icmp eq i8 [[A0]], 0
794-
; CHECK-NEXT: call void @use(i4 [[TR]])
794+
; CHECK-NEXT: call void @use2(i4 [[TR]])
795795
; CHECK-NEXT: ret i1 [[C]]
796796
;
797797
%tz = tail call range(i8 0, 9) i8 @llvm.cttz.i8(i8 %a0, i1 false)
798798
%tr = trunc i8 %tz to i4
799799
%c = icmp eq i4 %tr, 8
800-
call void @use(i4 %tr)
800+
call void @use2(i4 %tr)
801801
ret i1 %c
802-
}
802+
}

0 commit comments

Comments
 (0)