summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-08-26 01:18:27 +0000
committerDale Johannesen <dalej@apple.com>2007-08-26 01:18:27 +0000
commitb6d2bec418264229256f47403f16026de49278da (patch)
tree6937f9ad3201d5adde6ada6320b787b10916acb1 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent1895e58c84ac95d563345b372b3a8e600b27d50a (diff)
downloadbcm5719-llvm-b6d2bec418264229256f47403f16026de49278da.tar.gz
bcm5719-llvm-b6d2bec418264229256f47403f16026de49278da.zip
Revise per review comments.
llvm-svn: 41409
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 2b119a095aa..fda0589a6de 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3195,7 +3195,7 @@ SDOperand DAGCombiner::visitFCOPYSIGN(SDNode *N) {
return DAG.getNode(ISD::FCOPYSIGN, VT, N0, N1);
if (N1CFP) {
- APFloat V = N1CFP->getValueAPF();
+ const APFloat& V = N1CFP->getValueAPF();
// copysign(x, c1) -> fabs(x) iff ispos(c1)
// copysign(x, c1) -> fneg(fabs(x)) iff isneg(c1)
if (!V.isNegative())
OpenPOWER on IntegriCloud