[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / inline-asm-h.ll
1 ; RUN: llc -mtriple=x86_64-pc-linux-gnu < %s | FileCheck %s
2
3 @foobar = common global i32 0, align 4
4
5 define void @zed() nounwind {
6 entry:
7   call void asm "movq %mm2,${0:H}", "=*m,~{dirflag},~{fpsr},~{flags}"(i32* @foobar) nounwind
8   ret void
9 }
10
11 ; CHECK: zed
12 ; CHECK: movq %mm2, foobar+8(%rip)