mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
d8feb1f9a5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192173 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
389 B
LLVM
14 lines
389 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
|
|
; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
|
|
; CHECK-NOT: movsd
|
|
; CHECK: movd {{%rdi|%rcx}}, %xmm0
|
|
; CHECK-NOT: movsd
|
|
|
|
define <2 x i64> @test(i64 %i) nounwind {
|
|
entry:
|
|
%tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0
|
|
%tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1
|
|
ret <2 x i64> %tmp11
|
|
}
|
|
|