2015-09-10 18:34:34 +08:00
|
|
|
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s -o -| FileCheck %s
|
|
|
|
|
|
|
|
; Function Attrs: nounwind readnone
|
|
|
|
declare <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16>, <4 x i16>)
|
|
|
|
|
|
|
|
; CHECK-LABEL: test
|
|
|
|
define <4 x i16> @test() {
|
|
|
|
entry:
|
2018-10-25 22:56:48 +08:00
|
|
|
; CHECK: movi v{{[0-9]+}}.2d, #0000000000000000
|
2015-09-10 18:34:34 +08:00
|
|
|
%0 = tail call <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16> <i16 -1, i16 -1, i16 -1, i16 -1>, <4 x i16> zeroinitializer)
|
|
|
|
ret <4 x i16> %0
|
|
|
|
}
|