comparison test/CodeGen/ARM/vrev.ll @ 77:54457678186b

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children afa8332a0e37
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
1 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s 1 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
2 2
3 define <8 x i8> @test_vrev64D8(<8 x i8>* %A) nounwind { 3 define <8 x i8> @test_vrev64D8(<8 x i8>* %A) nounwind {
4 ;CHECK-LABEL: test_vrev64D8: 4 ;CHECK-LABEL: test_vrev64D8:
5 ;CHECK: vrev64.8 5 ;CHECK: vrev64.8
6 %tmp1 = load <8 x i8>* %A 6 %tmp1 = load <8 x i8>* %A
176 %arrayidx8 = getelementptr inbounds <4 x float>* %dest, i32 11 176 %arrayidx8 = getelementptr inbounds <4 x float>* %dest, i32 11
177 store <4 x float> %tmp5, <4 x float>* %arrayidx8, align 4 177 store <4 x float> %tmp5, <4 x float>* %arrayidx8, align 4
178 ret void 178 ret void
179 } 179 }
180 180
181 define <4 x i32> @test_vrev32_bswap(<4 x i32> %source) nounwind {
182 ; CHECK-LABEL: test_vrev32_bswap:
183 ; CHECK: vrev32.8
184 %bswap = call <4 x i32> @llvm.bswap.v4i32(<4 x i32> %source)
185 ret <4 x i32> %bswap
186 }
187
188 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) nounwind readnone