1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/CodeGen/ARM/hardfloat_neon.ll
Anton Korobeynikov 07ce0611d9 Missed pieces for ARM HardFP ABI.
Patch by Sandeep Patel!

llvm-svn: 78225
2009-08-05 19:04:42 +00:00

14 lines
379 B
LLVM

; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -mattr=+neon -float-abi=hard
define <16 x i8> @vmulQi8_reg(<16 x i8> %A, <16 x i8> %B) nounwind {
%tmp1 = mul <16 x i8> %A, %B
ret <16 x i8> %tmp1
}
define <16 x i8> @f(<16 x i8> %a, <16 x i8> %b) {
%tmp = call <16 x i8> @g(<16 x i8> %b)
ret <16 x i8> %tmp
}
declare <16 x i8> @g(<16 x i8>)