Add support for the 'H' modifier.
[oota-llvm.git] / test / CodeGen / X86 / inline-asm-h.ll
1 ; RUN: llc -march=x86-64 < %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)