mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
2a4643560e
Replaced lots of dodgy greps with actual codegen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265163 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
429 B
LLVM
13 lines
429 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse4.2 | FileCheck %s
|
|
|
|
define <2 x i64> @test(i64 %i) nounwind {
|
|
; CHECK-LABEL: test:
|
|
; CHECK: # BB#0:
|
|
; CHECK-NEXT: movd %rdi, %xmm0
|
|
; CHECK-NEXT: retq
|
|
%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
|
|
}
|