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

Tree @release_23 (Download .tar.gz)

vec_insert-3.ll @release_23raw · 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
}