2015-03-07 05:16:15 +08:00
|
|
|
; RUN: llc < %s -march=x86-64 -mattr=+sse2,-sse4.1 | FileCheck %s
|
2007-12-12 15:55:34 +08:00
|
|
|
|
2008-05-29 16:22:04 +08:00
|
|
|
define <2 x i64> @t1(i64 %s, <2 x i64> %tmp) nounwind {
|
2015-03-07 05:16:15 +08:00
|
|
|
; CHECK-LABEL: t1:
|
2015-03-07 05:30:18 +08:00
|
|
|
; CHECK: punpcklqdq
|
2015-03-07 05:16:15 +08:00
|
|
|
; CHECK-NEXT: retq
|
|
|
|
|
|
|
|
%tmp1 = insertelement <2 x i64> %tmp, i64 %s, i32 1
|
|
|
|
ret <2 x i64> %tmp1
|
2007-12-12 15:55:34 +08:00
|
|
|
}
|