mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
8838410a75
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180776 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
269 B
LLVM
15 lines
269 B
LLVM
; RUN: llc < %s -march=x86-64 | FileCheck %s
|
|
|
|
; CHECK: test3
|
|
; CHECK: movd
|
|
; CHECK-NOT: movd
|
|
; CHECK: {{movlhps.*%xmm0, %xmm0}}
|
|
; CHECK-NEXT: ret
|
|
|
|
define <2 x i64> @test3(i64 %A) nounwind {
|
|
entry:
|
|
%B = insertelement <2 x i64> undef, i64 %A, i32 1
|
|
ret <2 x i64> %B
|
|
}
|
|
|