summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-10 00:00:34 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-10 00:00:34 +0000
commit1426a81a740295cd515c0bcbb2db6617be7ae43b (patch)
tree80d7e86911fbedd2e0acee5b0fb8e11497554241 /clang/lib/CodeGen/CGStmt.cpp
parent09f74b551707e11c7292d1160f5b22d16c8bedce (diff)
downloadbcm5719-llvm-1426a81a740295cd515c0bcbb2db6617be7ae43b.tar.gz
bcm5719-llvm-1426a81a740295cd515c0bcbb2db6617be7ae43b.zip
[ms-inline asm] Use the new Inline Asm Non-Standard Dialect attribute.
llvm-svn: 161642
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index 2e4c557db63..467c77945e6 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -1701,4 +1701,5 @@ void CodeGenFunction::EmitMSAsmStmt(const MSAsmStmt &S) {
llvm::InlineAsm::get(FTy, *S.getAsmString(), MachineClobbers, true);
llvm::CallInst *Result = Builder.CreateCall(IA, Args);
Result->addAttribute(~0, llvm::Attribute::NoUnwind);
+ Result->addAttribute(~0, llvm::Attribute::IANSDialect);
}
OpenPOWER on IntegriCloud