Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / x86-64-shortint.ll
1 ; RUN: llc < %s | grep movswl
2
3 target datalayout = "e-p:64:64"
4 target triple = "x86_64-apple-darwin8"
5
6
7 define void @bar(i16 zeroext  %A) {
8         tail call void @foo( i16 %A signext  )
9         ret void
10 }
11 declare void @foo(i16 signext )
12