mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
eeb400322e
llvm-svn: 142158
11 lines
353 B
LLVM
11 lines
353 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx | grep movd | count 3
|
|
|
|
define i64 @a(i32 %a, i32 %b) nounwind readnone {
|
|
entry:
|
|
%0 = insertelement <2 x i32> undef, i32 %a, i32 0 ; <<2 x i32>> [#uses=1]
|
|
%1 = insertelement <2 x i32> %0, i32 %b, i32 1 ; <<2 x i32>> [#uses=1]
|
|
%conv = bitcast <2 x i32> %1 to i64 ; <i64> [#uses=1]
|
|
ret i64 %conv
|
|
}
|
|
|