mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
58e3e1021d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192348 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
302 B
LLVM
15 lines
302 B
LLVM
; RUN: llc < %s -march=x86-64 -mattr=-avx,-pad-short-functions | 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
|
|
}
|
|
|