diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-05 23:57:37 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-05 23:57:37 +0000 |
commit | 366df7945f0e65052d2e1df701ae1fd16b943642 (patch) | |
tree | ef92d68eaf631feab6e57fd9ab3fe10aa7f7e6d6 /include | |
parent | 0c09e76e52e5652262a581db53b762addb65e0c7 (diff) | |
download | llvm-366df7945f0e65052d2e1df701ae1fd16b943642.tar.gz llvm-366df7945f0e65052d2e1df701ae1fd16b943642.tar.bz2 llvm-366df7945f0e65052d2e1df701ae1fd16b943642.tar.xz |
[ms-inline asm] Use the asm dialect from the MI to set the parser dialect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 170a528a5a..2920675231 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -17,6 +17,7 @@ #define LLVM_CODEGEN_ASMPRINTER_H #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/InlineAsm.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/ErrorHandling.h" @@ -460,7 +461,8 @@ namespace llvm { mutable unsigned SetCounter; /// EmitInlineAsm - Emit a blob of inline asm to the output streamer. - void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0) const; + void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0, + InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const; /// EmitInlineAsm - This method formats and emits the specified machine /// instruction that is an inline asm. |