commit | c53301c671d7a24e060ffd7e9f95c22b5d29ae77 | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Sun Aug 26 01:18:27 2007 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Sun Aug 26 01:18:27 2007 +0000 |
tree | a3a489dda51375ebca6df4ab6a1b4edd7ccdba0f | |
parent | 7f2c1d1a4f0703cfedd3808f0ec695724f99144d [diff] [blame] |
Revise per review comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41409 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 2b119a0..fda0589 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3195,7 +3195,7 @@ 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())