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 | 85fff2ac11edc1278deae8170285038ac2358321 (patch) | |
tree | 7f71481db57b52d8dabc3316e356d22cc913a0c1 /clang/lib/CodeGen/CGStmt.cpp | |
parent | d7086fb3479ef480730df5f78d7a466f3bd73d7e (diff) | |
download | bcm5719-llvm-85fff2ac11edc1278deae8170285038ac2358321.tar.gz bcm5719-llvm-85fff2ac11edc1278deae8170285038ac2358321.zip |
[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.
llvm-svn: 163173
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index f6d9d2dbd65..0d1d6714135 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/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)) |