Convert AVX non-temporal store builtins to LLVM-native IR. This was previously done for SSE builtins.

llvm-svn: 156296
This commit is contained in:
Craig Topper 2012-05-07 06:25:45 +00:00
parent 0d8c15d20f
commit c83dff0993
1 changed files with 3 additions and 0 deletions

View File

@ -2411,8 +2411,11 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
return llvm::Constant::getNullValue(ConvertType(E->getType()));
}
case X86::BI__builtin_ia32_movntps:
case X86::BI__builtin_ia32_movntps256:
case X86::BI__builtin_ia32_movntpd:
case X86::BI__builtin_ia32_movntpd256:
case X86::BI__builtin_ia32_movntdq:
case X86::BI__builtin_ia32_movntdq256:
case X86::BI__builtin_ia32_movnti: {
llvm::MDNode *Node = llvm::MDNode::get(getLLVMContext(),
Builder.getInt32(1));