mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
03c079d5fc
eliminating the llvm.x86.sse2.loadl.pd intrinsic?), one shuffle optzn may be done (if shufps is better than pinsw, Evan, please review), and we already know about LICM of simple instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45407 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
311 B
LLVM
11 lines
311 B
LLVM
; RUN: llvm-as < %s | llc -march=x86-64 | not grep movsd
|
|
; RUN: llvm-as < %s | llc -march=x86-64 | grep {movd.*%rdi,.*%xmm0}
|
|
|
|
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
|
|
}
|
|
|