llvm.org GIT mirror llvm / 0a6ee6d test / CodeGen / X86 / vec_insert-3.ll
0a6ee6d

Tree @0a6ee6d (Download .tar.gz)

vec_insert-3.ll @0a6ee6draw · history · blame

1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse2 | grep punpcklqdq | count 1

define <2 x i64> @t1(i64 %s, <2 x i64> %tmp) {
        %tmp1 = insertelement <2 x i64> %tmp, i64 %s, i32 1
        ret <2 x i64> %tmp1
}