NAKAMURA Takumi | bfc4c98 | 2011-03-16 13:53:07 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s |
| 2 | ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s |
| 3 | ; CHECK-NOT: movsd |
Bob Wilson | 38c8926 | 2011-06-21 17:35:13 +0000 | [diff] [blame] | 4 | ; CHECK: movd {{%rdi|%rcx}}, %xmm0 |
NAKAMURA Takumi | bfc4c98 | 2011-03-16 13:53:07 +0000 | [diff] [blame] | 5 | ; CHECK-NOT: movsd |
Chris Lattner | 03c079d | 2007-12-29 19:31:47 +0000 | [diff] [blame] | 6 | |
| 7 | define <2 x i64> @test(i64 %i) nounwind { |
| 8 | entry: |
| 9 | %tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0 |
| 10 | %tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1 |
| 11 | ret <2 x i64> %tmp11 |
| 12 | } |
| 13 | |