• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86-64
2; PR4669
3declare x86_mmx @llvm.x86.mmx.pslli.q(x86_mmx, i32)
4
5define <1 x i64> @test(i64 %t) {
6entry:
7	%t1 = insertelement <1 x i64> undef, i64 %t, i32 0
8        %t0 = bitcast <1 x i64> %t1 to x86_mmx
9	%t2 = tail call x86_mmx @llvm.x86.mmx.pslli.q(x86_mmx %t0, i32 48)
10        %t3 = bitcast x86_mmx %t2 to <1 x i64>
11	ret <1 x i64> %t3
12}
13