summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-29 23:20:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-29 23:20:46 +0000
commit894be333f1659a1e20300982ae34bcd371712017 (patch)
treea676e41bfb8126caf542d2a51461391a9d7ff9ac /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent0b82607fa13503474a2ba8bcab8a33c76f3bfab1 (diff)
downloadbcm5719-llvm-894be333f1659a1e20300982ae34bcd371712017.tar.gz
bcm5719-llvm-894be333f1659a1e20300982ae34bcd371712017.zip
Fix 80 col. violations.
llvm-svn: 55551
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index ab27925189e..d0a36100a26 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3063,7 +3063,8 @@ SDValue DAGCombiner::visitANY_EXTEND(SDNode *N) {
LN0->getAlignment());
CombineTo(N, ExtLoad);
// Redirect any chain users to the new load.
- DAG.ReplaceAllUsesOfValueWith(SDValue(LN0, 1), SDValue(ExtLoad.getNode(), 1));
+ DAG.ReplaceAllUsesOfValueWith(SDValue(LN0, 1),
+ SDValue(ExtLoad.getNode(), 1));
// If any node needs the original loaded value, recompute it.
if (!LN0->use_empty())
CombineTo(LN0, DAG.getNode(ISD::TRUNCATE, N0.getValueType(), ExtLoad),
@@ -3086,7 +3087,8 @@ SDValue DAGCombiner::visitANY_EXTEND(SDNode *N) {
LN0->isVolatile(),
LN0->getAlignment());
CombineTo(N, ExtLoad);
- CombineTo(N0.getNode(), DAG.getNode(ISD::TRUNCATE, N0.getValueType(), ExtLoad),
+ CombineTo(N0.getNode(),
+ DAG.getNode(ISD::TRUNCATE, N0.getValueType(), ExtLoad),
ExtLoad.getValue(1));
return SDValue(N, 0); // Return N so it doesn't get rechecked!
}
OpenPOWER on IntegriCloud