blob: 3cbc4cdcd707a0cc88cb162ff4cab47847dd69dc [file] [log] [blame]
Chad Rosierd6641af2011-08-20 00:34:45 +00001; RUN: llc %s -mtriple=thumbv7-apple-darwin -verify-machineinstrs -mcpu=cortex-a9 -O0 -o -
Chad Rosierbe762512011-08-20 00:17:25 +00002; Make sure that the VMOVQQQQ pseudo instruction is handled properly
3; by codegen.
Bob Wilsond1de7762011-08-13 05:14:55 +00004
5define void @test_vmovqqqq_pseudo() nounwind ssp {
6entry:
7 %vld3_lane = call { <8 x i16>, <8 x i16>, <8 x i16> } @llvm.arm.neon.vld3lane.v8i16(i8* undef, <8 x i16> undef, <8 x i16> undef, <8 x i16> zeroinitializer, i32 7, i32 2)
8 store { <8 x i16>, <8 x i16>, <8 x i16> } %vld3_lane, { <8 x i16>, <8 x i16>, <8 x i16> }* undef
9 ret void
10}
11
12declare { <8 x i16>, <8 x i16>, <8 x i16> } @llvm.arm.neon.vld3lane.v8i16(i8*, <8 x i16>, <8 x i16>, <8 x i16>, i32, i32) nounwind readonly