[SVE][CodeGen] Lower SDIV & UDIV to SVE intrinsics
Summary:
This patch maps IR operations for sdiv & udiv to the
@llvm.aarch64.sve.[s|u]div intrinsics.
A ptrue must be created during lowering as the div instructions
have only a predicated form.
Patch contains changes by Andrzej Warzynski.
Reviewers: sdesmalen, c-rhodes, efriedma, cameron.mcinally, rengolin
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, andwar, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78569
2020-04-24 17:45:25 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
|
|
|
|
|
|
|
|
;
|
|
|
|
; SDIV
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @sdiv_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @sdiv_i32
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: sdiv z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = sdiv <vscale x 4 x i32> %a, %b
|
|
|
|
ret <vscale x 4 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @sdiv_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b) {
|
|
|
|
; CHECK-LABEL: @sdiv_i64
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: sdiv z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = sdiv <vscale x 2 x i64> %a, %b
|
|
|
|
ret <vscale x 2 x i64> %div
|
|
|
|
}
|
|
|
|
|
[SVE][CodeGen] Fix legalisation for scalable types
Summary:
This patch handles illegal scalable types when lowering IR operations,
addressing several places where the value of isScalableVector() is
ignored.
For types such as <vscale x 8 x i32>, this means splitting the
operations. In this example, we would split it into two
operations of type <vscale x 4 x i32> for the low and high halves.
In cases such as <vscale x 2 x i32>, the elements in the vector
will be promoted. In this case they will be promoted to
i64 (with a vector of type <vscale x 2 x i64>)
Reviewers: sdesmalen, efriedma, huntergr
Reviewed By: efriedma
Subscribers: david-arm, tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78812
2020-05-07 17:01:31 +08:00
|
|
|
define <vscale x 8 x i32> @sdiv_split_i32(<vscale x 8 x i32> %a, <vscale x 8 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @sdiv_split_i32
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: sdiv z0.s, p0/m, z0.s, z2.s
|
|
|
|
; CHECK-DAG: sdiv z1.s, p0/m, z1.s, z3.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = sdiv <vscale x 8 x i32> %a, %b
|
|
|
|
ret <vscale x 8 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i32> @sdiv_widen_i32(<vscale x 2 x i32> %a, <vscale x 2 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @sdiv_widen_i32
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: sxtw z1.d, p0/m, z1.d
|
|
|
|
; CHECK-DAG: sxtw z0.d, p0/m, z0.d
|
|
|
|
; CHECK-DAG: sdiv z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = sdiv <vscale x 2 x i32> %a, %b
|
|
|
|
ret <vscale x 2 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i64> @sdiv_split_i64(<vscale x 4 x i64> %a, <vscale x 4 x i64> %b) {
|
|
|
|
; CHECK-LABEL: @sdiv_split_i64
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: sdiv z0.d, p0/m, z0.d, z2.d
|
|
|
|
; CHECK-DAG: sdiv z1.d, p0/m, z1.d, z3.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = sdiv <vscale x 4 x i64> %a, %b
|
|
|
|
ret <vscale x 4 x i64> %div
|
|
|
|
}
|
|
|
|
|
[SVE][CodeGen] Lower SDIV & UDIV to SVE intrinsics
Summary:
This patch maps IR operations for sdiv & udiv to the
@llvm.aarch64.sve.[s|u]div intrinsics.
A ptrue must be created during lowering as the div instructions
have only a predicated form.
Patch contains changes by Andrzej Warzynski.
Reviewers: sdesmalen, c-rhodes, efriedma, cameron.mcinally, rengolin
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, andwar, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78569
2020-04-24 17:45:25 +08:00
|
|
|
;
|
|
|
|
; UDIV
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @udiv_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @udiv_i32
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: udiv z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = udiv <vscale x 4 x i32> %a, %b
|
|
|
|
ret <vscale x 4 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @udiv_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b) {
|
|
|
|
; CHECK-LABEL: @udiv_i64
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: udiv z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = udiv <vscale x 2 x i64> %a, %b
|
|
|
|
ret <vscale x 2 x i64> %div
|
|
|
|
}
|
[SVE][Codegen] Lower legal min & max operations
Summary:
This patch adds AArch64ISD nodes for [S|U]MIN_PRED
and [S|U]MAX_PRED, and lowers both SVE intrinsics and
IR operations for min and max to these nodes.
There are two forms of these instructions for SVE: a predicated
form and an immediate (unpredicated) form. The patterns
which existed for the latter have been updated to match a
predicated node with an immediate and map this
to the immediate instruction.
Reviewers: sdesmalen, efriedma, dancgr, rengolin
Reviewed By: efriedma
Subscribers: huihuiz, tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79087
2020-05-04 18:18:50 +08:00
|
|
|
|
[SVE][CodeGen] Fix legalisation for scalable types
Summary:
This patch handles illegal scalable types when lowering IR operations,
addressing several places where the value of isScalableVector() is
ignored.
For types such as <vscale x 8 x i32>, this means splitting the
operations. In this example, we would split it into two
operations of type <vscale x 4 x i32> for the low and high halves.
In cases such as <vscale x 2 x i32>, the elements in the vector
will be promoted. In this case they will be promoted to
i64 (with a vector of type <vscale x 2 x i64>)
Reviewers: sdesmalen, efriedma, huntergr
Reviewed By: efriedma
Subscribers: david-arm, tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78812
2020-05-07 17:01:31 +08:00
|
|
|
define <vscale x 8 x i32> @udiv_split_i32(<vscale x 8 x i32> %a, <vscale x 8 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @udiv_split_i32
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: udiv z0.s, p0/m, z0.s, z2.s
|
|
|
|
; CHECK-DAG: udiv z1.s, p0/m, z1.s, z3.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = udiv <vscale x 8 x i32> %a, %b
|
|
|
|
ret <vscale x 8 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i32> @udiv_widen_i32(<vscale x 2 x i32> %a, <vscale x 2 x i32> %b) {
|
|
|
|
; CHECK-LABEL: @udiv_widen_i32
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: and z1.d, z1.d, #0xffffffff
|
|
|
|
; CHECK-DAG: and z0.d, z0.d, #0xffffffff
|
|
|
|
; CHECK-DAG: udiv z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = udiv <vscale x 2 x i32> %a, %b
|
|
|
|
ret <vscale x 2 x i32> %div
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i64> @udiv_split_i64(<vscale x 4 x i64> %a, <vscale x 4 x i64> %b) {
|
|
|
|
; CHECK-LABEL: @udiv_split_i64
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: udiv z0.d, p0/m, z0.d, z2.d
|
|
|
|
; CHECK-DAG: udiv z1.d, p0/m, z1.d, z3.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%div = udiv <vscale x 4 x i64> %a, %b
|
|
|
|
ret <vscale x 4 x i64> %div
|
|
|
|
}
|
|
|
|
|
[SVE][Codegen] Lower legal min & max operations
Summary:
This patch adds AArch64ISD nodes for [S|U]MIN_PRED
and [S|U]MAX_PRED, and lowers both SVE intrinsics and
IR operations for min and max to these nodes.
There are two forms of these instructions for SVE: a predicated
form and an immediate (unpredicated) form. The patterns
which existed for the latter have been updated to match a
predicated node with an immediate and map this
to the immediate instruction.
Reviewers: sdesmalen, efriedma, dancgr, rengolin
Reviewed By: efriedma
Subscribers: huihuiz, tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79087
2020-05-04 18:18:50 +08:00
|
|
|
;
|
|
|
|
; SMIN
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 16 x i8> @smin_i8(<vscale x 16 x i8> %a, <vscale x 16 x i8> %b, <vscale x 16 x i8> %c) {
|
|
|
|
; CHECK-LABEL: @smin_i8
|
|
|
|
; CHECK-DAG: ptrue p0.b
|
|
|
|
; CHECK-DAG: smin z0.b, p0/m, z0.b, z1.b
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp slt <vscale x 16 x i8> %a, %b
|
|
|
|
%min = select <vscale x 16 x i1> %cmp, <vscale x 16 x i8> %a, <vscale x 16 x i8> %b
|
|
|
|
ret <vscale x 16 x i8> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 8 x i16> @smin_i16(<vscale x 8 x i16> %a, <vscale x 8 x i16> %b, <vscale x 8 x i16> %c) {
|
|
|
|
; CHECK-LABEL: @smin_i16
|
|
|
|
; CHECK-DAG: ptrue p0.h
|
|
|
|
; CHECK-DAG: smin z0.h, p0/m, z0.h, z1.h
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp slt <vscale x 8 x i16> %a, %b
|
|
|
|
%min = select <vscale x 8 x i1> %cmp, <vscale x 8 x i16> %a, <vscale x 8 x i16> %b
|
|
|
|
ret <vscale x 8 x i16> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @smin_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, <vscale x 4 x i32> %c) {
|
|
|
|
; CHECK-LABEL: smin_i32:
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: smin z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp slt <vscale x 4 x i32> %a, %b
|
|
|
|
%min = select <vscale x 4 x i1> %cmp, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b
|
|
|
|
ret <vscale x 4 x i32> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @smin_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b, <vscale x 2 x i64> %c) {
|
|
|
|
; CHECK-LABEL: smin_i64:
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: smin z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp slt <vscale x 2 x i64> %a, %b
|
|
|
|
%min = select <vscale x 2 x i1> %cmp, <vscale x 2 x i64> %a, <vscale x 2 x i64> %b
|
|
|
|
ret <vscale x 2 x i64> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
;
|
|
|
|
; UMIN
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 16 x i8> @umin_i8(<vscale x 16 x i8> %a, <vscale x 16 x i8> %b, <vscale x 16 x i8> %c) {
|
|
|
|
; CHECK-LABEL: @umin_i8
|
|
|
|
; CHECK-DAG: ptrue p0.b
|
|
|
|
; CHECK-DAG: umin z0.b, p0/m, z0.b, z1.b
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ult <vscale x 16 x i8> %a, %b
|
|
|
|
%min = select <vscale x 16 x i1> %cmp, <vscale x 16 x i8> %a, <vscale x 16 x i8> %b
|
|
|
|
ret <vscale x 16 x i8> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 8 x i16> @umin_i16(<vscale x 8 x i16> %a, <vscale x 8 x i16> %b, <vscale x 8 x i16> %c) {
|
|
|
|
; CHECK-LABEL: @umin_i16
|
|
|
|
; CHECK-DAG: ptrue p0.h
|
|
|
|
; CHECK-DAG: umin z0.h, p0/m, z0.h, z1.h
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ult <vscale x 8 x i16> %a, %b
|
|
|
|
%min = select <vscale x 8 x i1> %cmp, <vscale x 8 x i16> %a, <vscale x 8 x i16> %b
|
|
|
|
ret <vscale x 8 x i16> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @umin_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, <vscale x 4 x i32> %c) {
|
|
|
|
; CHECK-LABEL: umin_i32:
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: umin z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ult <vscale x 4 x i32> %a, %b
|
|
|
|
%min = select <vscale x 4 x i1> %cmp, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b
|
|
|
|
ret <vscale x 4 x i32> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @umin_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b, <vscale x 2 x i64> %c) {
|
|
|
|
; CHECK-LABEL: umin_i64:
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: umin z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ult <vscale x 2 x i64> %a, %b
|
|
|
|
%min = select <vscale x 2 x i1> %cmp, <vscale x 2 x i64> %a, <vscale x 2 x i64> %b
|
|
|
|
ret <vscale x 2 x i64> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
;
|
|
|
|
; SMAX
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 16 x i8> @smax_i8(<vscale x 16 x i8> %a, <vscale x 16 x i8> %b, <vscale x 16 x i8> %c) {
|
|
|
|
; CHECK-LABEL: @smax_i8
|
|
|
|
; CHECK-DAG: ptrue p0.b
|
|
|
|
; CHECK-DAG: smax z0.b, p0/m, z0.b, z1.b
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp sgt <vscale x 16 x i8> %a, %b
|
|
|
|
%min = select <vscale x 16 x i1> %cmp, <vscale x 16 x i8> %a, <vscale x 16 x i8> %b
|
|
|
|
ret <vscale x 16 x i8> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 8 x i16> @smax_i16(<vscale x 8 x i16> %a, <vscale x 8 x i16> %b, <vscale x 8 x i16> %c) {
|
|
|
|
; CHECK-LABEL: @smax_i16
|
|
|
|
; CHECK-DAG: ptrue p0.h
|
|
|
|
; CHECK-DAG: smax z0.h, p0/m, z0.h, z1.h
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp sgt <vscale x 8 x i16> %a, %b
|
|
|
|
%min = select <vscale x 8 x i1> %cmp, <vscale x 8 x i16> %a, <vscale x 8 x i16> %b
|
|
|
|
ret <vscale x 8 x i16> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @smax_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, <vscale x 4 x i32> %c) {
|
|
|
|
; CHECK-LABEL: smax_i32:
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: smax z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp sgt <vscale x 4 x i32> %a, %b
|
|
|
|
%min = select <vscale x 4 x i1> %cmp, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b
|
|
|
|
ret <vscale x 4 x i32> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @smax_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b, <vscale x 2 x i64> %c) {
|
|
|
|
; CHECK-LABEL: smax_i64:
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: smax z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp sgt <vscale x 2 x i64> %a, %b
|
|
|
|
%min = select <vscale x 2 x i1> %cmp, <vscale x 2 x i64> %a, <vscale x 2 x i64> %b
|
|
|
|
ret <vscale x 2 x i64> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
;
|
|
|
|
; UMAX
|
|
|
|
;
|
|
|
|
|
|
|
|
define <vscale x 16 x i8> @umax_i8(<vscale x 16 x i8> %a, <vscale x 16 x i8> %b, <vscale x 16 x i8> %c) {
|
|
|
|
; CHECK-LABEL: @umax_i8
|
|
|
|
; CHECK-DAG: ptrue p0.b
|
|
|
|
; CHECK-DAG: umax z0.b, p0/m, z0.b, z1.b
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ugt <vscale x 16 x i8> %a, %b
|
|
|
|
%min = select <vscale x 16 x i1> %cmp, <vscale x 16 x i8> %a, <vscale x 16 x i8> %b
|
|
|
|
ret <vscale x 16 x i8> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 8 x i16> @umax_i16(<vscale x 8 x i16> %a, <vscale x 8 x i16> %b, <vscale x 8 x i16> %c) {
|
|
|
|
; CHECK-LABEL: @umax_i16
|
|
|
|
; CHECK-DAG: ptrue p0.h
|
|
|
|
; CHECK-DAG: umax z0.h, p0/m, z0.h, z1.h
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ugt <vscale x 8 x i16> %a, %b
|
|
|
|
%min = select <vscale x 8 x i1> %cmp, <vscale x 8 x i16> %a, <vscale x 8 x i16> %b
|
|
|
|
ret <vscale x 8 x i16> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 4 x i32> @umax_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b, <vscale x 4 x i32> %c) {
|
|
|
|
; CHECK-LABEL: umax_i32:
|
|
|
|
; CHECK-DAG: ptrue p0.s
|
|
|
|
; CHECK-DAG: umax z0.s, p0/m, z0.s, z1.s
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ugt <vscale x 4 x i32> %a, %b
|
|
|
|
%min = select <vscale x 4 x i1> %cmp, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b
|
|
|
|
ret <vscale x 4 x i32> %min
|
|
|
|
}
|
|
|
|
|
|
|
|
define <vscale x 2 x i64> @umax_i64(<vscale x 2 x i64> %a, <vscale x 2 x i64> %b, <vscale x 2 x i64> %c) {
|
|
|
|
; CHECK-LABEL: umax_i64:
|
|
|
|
; CHECK-DAG: ptrue p0.d
|
|
|
|
; CHECK-DAG: umax z0.d, p0/m, z0.d, z1.d
|
|
|
|
; CHECK-NEXT: ret
|
|
|
|
%cmp = icmp ugt <vscale x 2 x i64> %a, %b
|
|
|
|
%min = select <vscale x 2 x i1> %cmp, <vscale x 2 x i64> %a, <vscale x 2 x i64> %b
|
|
|
|
ret <vscale x 2 x i64> %min
|
|
|
|
}
|