Fix copy paste comment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 24 Oct 2014 18:13:10 +0000 (18:13 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 24 Oct 2014 18:13:10 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220581 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 3a11277c473f390d71a599273d5051e3ebaf55e6..4b4b90b58373f977777170afcc4606dfecb72e38 100644 (file)
@@ -5899,12 +5899,12 @@ bool SelectionDAGBuilder::visitUnaryFloatCall(const CallInst &I,
   return true;
 }
 
   return true;
 }
 
-/// visitBinaryFloatCall - If a call instruction is a unary floating-point
+/// visitBinaryFloatCall - If a call instruction is a binary floating-point
 /// operation (as expected), translate it to an SDNode with the specified opcode
 /// and return true.
 bool SelectionDAGBuilder::visitBinaryFloatCall(const CallInst &I,
                                                unsigned Opcode) {
 /// operation (as expected), translate it to an SDNode with the specified opcode
 /// and return true.
 bool SelectionDAGBuilder::visitBinaryFloatCall(const CallInst &I,
                                                unsigned Opcode) {
-  // Sanity check that it really is a unary floating-point call.
+  // Sanity check that it really is a binary floating-point call.
   if (I.getNumArgOperands() != 2 ||
       !I.getArgOperand(0)->getType()->isFloatingPointTy() ||
       I.getType() != I.getArgOperand(0)->getType() ||
   if (I.getNumArgOperands() != 2 ||
       !I.getArgOperand(0)->getType()->isFloatingPointTy() ||
       I.getType() != I.getArgOperand(0)->getType() ||