diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:13:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:13:33 +0000 |
commit | 6855d62768afbc498a21f54e7415a87485eb5f3f (patch) | |
tree | 322866904f0677c5c0658aa4b1ca838208a5e068 /llvm/lib/CodeGen | |
parent | 29233c04589d52543af8dbd8825f294314f8a786 (diff) | |
download | bcm5719-llvm-6855d62768afbc498a21f54e7415a87485eb5f3f.tar.gz bcm5719-llvm-6855d62768afbc498a21f54e7415a87485eb5f3f.zip |
fix 80 col violation, patch by Alastair Lynn
llvm-svn: 100639
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index a336e0a01b5..5d3a6c3cec6 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -3779,7 +3779,8 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) { if (N0.getOpcode() == ISD::TRUNCATE) return DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), VT, N0.getOperand(0)); // fold (truncate (ext x)) -> (ext x) or (truncate x) or x - if (N0.getOpcode() == ISD::ZERO_EXTEND || N0.getOpcode() == ISD::SIGN_EXTEND|| + if (N0.getOpcode() == ISD::ZERO_EXTEND || + N0.getOpcode() == ISD::SIGN_EXTEND || N0.getOpcode() == ISD::ANY_EXTEND) { if (N0.getOperand(0).getValueType().bitsLT(VT)) // if the source is smaller than the dest, we still need an extend |