[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / 2007-03-24-InlineAsmMultiRegConstraint.ll
1 ; RUN: llc < %s -march=x86
2
3 define i32 @test(i16 %tmp40414244) {
4   %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
5   ret i32 %tmp48
6 }
7
8 define i32 @test2(i16 %tmp40414244) {
9   %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 14 )
10   ret i32 %tmp48
11 }