[ms-inline asm] Add support in the X86AsmPrinter for printing memory references
authorChad Rosier <mcrosier@apple.com>
Wed, 3 Oct 2012 22:06:44 +0000 (22:06 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 3 Oct 2012 22:06:44 +0000 (22:06 +0000)
commit271623f8ae7207d550f7c768d930a243c5771d64
treeb8b8eb7d1e3992979b00f4771f63771e315c51d5
parent5b5559d3f306d564d3d57394cb70a69d679649ab
[ms-inline asm] Add support in the X86AsmPrinter for printing memory references
in the Intel syntax.

The MC layer supports emitting in the Intel syntax, but this would require the
inline assembly MachineInstr to be lowered to an MCInst before emission.  This
is potential future work, but for now emitting directly from the MachineInstr
suffices.

llvm-svn: 165173
llvm/lib/Target/X86/X86AsmPrinter.cpp
llvm/lib/Target/X86/X86AsmPrinter.h
llvm/test/CodeGen/X86/ms-inline-asm.ll