Skip to content

Commit 500a2d4

Browse files
committed
remove explicit intrinsic declaration
1 parent ed285b0 commit 500a2d4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/test/Transforms/InstCombine/smax-smin-canonicalize.ll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
; smax(smin(X, MinC), MaxC) -> smin(smax(X, MaxC), MinC)
55

6-
declare i16 @llvm.smax.i16(i16, i16)
7-
declare i16 @llvm.smin.i16(i16, i16)
8-
declare <2 x i16> @llvm.smax.v2i16(<2 x i16>, <2 x i16>)
9-
declare <2 x i16> @llvm.smin.v2i16(<2 x i16>, <2 x i16>)
10-
116
define i16 @max_min(i16 %x) {
127
; CHECK-LABEL: define i16 @max_min(
138
; CHECK-SAME: i16 [[X:%.*]]) {
@@ -181,9 +176,6 @@ define i16 @min_max(i16 %x) {
181176
ret i16 %min
182177
}
183178

184-
declare i16 @llvm.umin.i16(i16, i16)
185-
declare i16 @llvm.umax.i16(i16, i16)
186-
187179
define i16 @umax_umin(i16 %x) {
188180
; CHECK-LABEL: define i16 @umax_umin(
189181
; CHECK-SAME: i16 [[X:%.*]]) {

0 commit comments

Comments
 (0)