]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/X86/2011-10-11-srl.ll
[X86][AVX] Added (V)MOVDDUP / (V)MOVSLDUP / (V)MOVSHDUP memory folding + tests.
[opencl/llvm.git] / test / CodeGen / X86 / 2011-10-11-srl.ll
1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=-sse4.1
3 target triple = "x86_64-unknown-linux-gnu"
5 define void @m387(<2 x i8>* %p, <2 x i16>* %q) {
6   %t = load <2 x i8>* %p
7   %r = sext <2 x i8> %t to <2 x i16>
8   store <2 x i16> %r, <2 x i16>* %q
9   ret void
10 }