Now that it's supported, turn copysignl into a COPYSIGN node.

llvm-svn: 98348
This commit is contained in:
Duncan Sands 2010-03-12 12:13:59 +00:00
parent 52ceee58d3
commit 607f1825b0
1 changed files with 1 additions and 1 deletions

View File

@ -4633,7 +4633,7 @@ void SelectionDAGBuilder::visitCall(CallInst &I) {
// can't be a library call.
if (!F->hasLocalLinkage() && F->hasName()) {
StringRef Name = F->getName();
if (Name == "copysign" || Name == "copysignf") {
if (Name == "copysign" || Name == "copysignf" || Name == "copysignl") {
if (I.getNumOperands() == 3 && // Basic sanity checks.
I.getOperand(1)->getType()->isFloatingPointTy() &&
I.getType() == I.getOperand(1)->getType() &&