diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-04 22:23:54 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-04 22:23:54 +0000 |
commit | ef5c554a0c953c51e6876fa48544ace1c3e2872b (patch) | |
tree | 5fb9c34d50608314af9f4a649c095dd0344319ad /lib/CodeGen | |
parent | 2ab7d43e450333d52fdf087bf2558a74dbe3c9fd (diff) |
[ms-inline asm] Remove the Inline Asm Non-Standard Dialect attribute. This
implementation does not co-exist well with how the sideeffect and alignstack
attributes are handled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index f6d9d2dbd6..0d1d671413 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -1619,10 +1619,6 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { llvm::CallInst *Result = Builder.CreateCall(IA, Args); Result->addAttribute(~0, llvm::Attribute::NoUnwind); - // Add the inline asm non-standard dialect attribute on MS-style inline asms. - if (isa<MSAsmStmt>(&S)) - Result->addAttribute(~0, llvm::Attribute::IANSDialect); - // Slap the source location of the inline asm into a !srcloc metadata on the // call. FIXME: Handle metadata for MS-style inline asms. if (const GCCAsmStmt *gccAsmStmt = dyn_cast<GCCAsmStmt>(&S)) |