source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/opt-shuff-tstore.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: 496 bytes
Line 
1; RUN: llc -mcpu=cortex-a9 -mtriple=arm-linux-unknown -mattr=+neon < %s | FileCheck %s
2
3; CHECK: func_4_8
4; CHECK: vst1.32
5; CHECK: bx lr
6define void @func_4_8(<4 x i8> %param, <4 x i8>* %p) {
7  %r = add <4 x i8> %param, <i8 1, i8 2, i8 3, i8 4>
8  store <4 x i8> %r, <4 x i8>* %p
9  ret void
10}
11
12; CHECK: func_2_16
13; CHECK: vst1.32
14; CHECK: bx lr
15define void @func_2_16(<2 x i16> %param, <2 x i16>* %p) {
16  %r = add <2 x i16> %param, <i16 1, i16 2>
17  store <2 x i16> %r, <2 x i16>* %p
18  ret void
19}
Note: See TracBrowser for help on using the repository browser.