[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)
commit34448ae39398eeb5339a3dc6c669b4ca6791eadc
tree33e3565df4721abeb19144de019342c080abcc8b
parent42faefc11da326f10a4a52d72953318921d9e43d
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165173 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86AsmPrinter.h
test/CodeGen/X86/ms-inline-asm.ll