[llvm] r220581 - Fix copy paste comment

Matt Arsenault Matthew.Arsenault at amd.com
Fri Oct 24 11:13:10 PDT 2014


Author: arsenm
Date: Fri Oct 24 13:13:10 2014
New Revision: 220581

URL: http://llvm.org/viewvc/llvm-project?rev=220581&view=rev
Log:
Fix copy paste comment

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=220581&r1=220580&r2=220581&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Fri Oct 24 13:13:10 2014
@@ -5899,12 +5899,12 @@ bool SelectionDAGBuilder::visitUnaryFloa
   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) {
-  // 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() ||





More information about the llvm-commits mailing list