source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/aarch64-smax-constantfold.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 423 bytes
Line 
1; RUN: llc -mtriple=aarch64-none-linux-gnu < %s -o -| FileCheck %s
2
3; Function Attrs: nounwind readnone
4declare <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16>, <4 x i16>)
5
6; CHECK-LABEL: test
7define <4 x i16> @test() {
8entry:
9; CHECK: movi   d{{[0-9]+}}, #0000000000000000
10  %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)
11  ret <4 x i16> %0
12}
Note: See TracBrowser for help on using the repository browser.