blob: b3efc7b16b7d9b2e73e907d4a9f42f5dba037670 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; RUN: grep {subl.*60}
Dan Gohman0a063102009-09-08 23:54:48 +00003; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
Dan Gohman102b36c2007-07-20 16:31:26 +00004; RUN: grep {movaps.*32}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Tanya Lattner632e88a2008-02-21 07:42:26 +00006
7define void @test() {
8 tail call void @xx( i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, <2 x i64> bitcast (<4 x i32> < i32 4, i32 3, i32 2, i32 1 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 8, i32 7, i32 6, i32 5 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 6, i32 4, i32 2, i32 0 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 8, i32 4, i32 2, i32 1 > to <2 x i64>), <2 x i64> bitcast (<4 x i32> < i32 0, i32 1, i32 3, i32 9 > to <2 x i64>) )
9 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010}
11
Tanya Lattner632e88a2008-02-21 07:42:26 +000012declare void @xx(i32, i32, i32, i32, i32, i32, i32, <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>)
13