Address Chris's comments.

llvm-svn: 44749
This commit is contained in:
Anders Carlsson 2007-12-09 23:39:18 +00:00
parent 895af08562
commit 92c4e44da1

View File

@ -199,11 +199,11 @@ llvm::Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
const CallExpr *E)
{
switch (BuiltinID) {
default: return 0;
case X86::BI__builtin_ia32_mulps:
return Builder.CreateMul(EmitScalarExpr(E->getArg(0)),
EmitScalarExpr(E->getArg(1)),
"result");
default: return 0;
case X86::BI__builtin_ia32_mulps:
return Builder.CreateMul(EmitScalarExpr(E->getArg(0)),
EmitScalarExpr(E->getArg(1)),
"mulps");
}
}
@ -211,6 +211,6 @@ llvm::Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
const CallExpr *E)
{
switch (BuiltinID) {
default: return 0;
default: return 0;
}
}