summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-10-24 18:13:10 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-10-24 18:13:10 +0000
commit4b7bd2d52f165639eec72c2959e55c92d537f02c (patch)
tree5240d86659cb3e736d383bfdf4b63e099f2c7bbb /llvm/lib/CodeGen
parentd4bcefc7d9ff16710b2509e494614b5c08013567 (diff)
downloadbcm5719-llvm-4b7bd2d52f165639eec72c2959e55c92d537f02c.tar.gz
bcm5719-llvm-4b7bd2d52f165639eec72c2959e55c92d537f02c.zip
Fix copy paste comment
llvm-svn: 220581
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 3a11277c473..4b4b90b5837 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -5899,12 +5899,12 @@ bool SelectionDAGBuilder::visitUnaryFloatCall(const CallInst &I,
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() ||
OpenPOWER on IntegriCloud