diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 04:01:18 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 04:01:18 +0000 |
commit | dedf2bd5a34dac25e4245f58bb902ced6b64edd9 (patch) | |
tree | 8ae45f7a66e26530d3f60616f44557d31dc2cee7 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 00876a2808f1a8061f7e0852c7949fc5074ecb04 (diff) |
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5b0c710635..2eccb6b0fc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -981,7 +981,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, case ISD::OR: if (!C2)return N1; // X or 0 -> X if (N2C->isAllOnesValue()) - return N2; // X or -1 -> -1 + return N2; // X or -1 -> -1 break; case ISD::XOR: if (!C2) return N1; // X xor 0 -> X @@ -1005,7 +1005,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, return getNode(ISD::AND, VT, LHS, RHS); } } - // X xor -1 -> not(x) ? + // X xor -1 -> not(x) ? } break; } @@ -1647,13 +1647,11 @@ void SDNode::dump() const { dyn_cast<GlobalAddressSDNode>(this)) { std::cerr << "<"; WriteAsOperand(std::cerr, GADN->getGlobal()) << ">"; - } else if (const FrameIndexSDNode *FIDN = - dyn_cast<FrameIndexSDNode>(this)) { + } else if (const FrameIndexSDNode *FIDN = dyn_cast<FrameIndexSDNode>(this)) { std::cerr << "<" << FIDN->getIndex() << ">"; } else if (const ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(this)){ std::cerr << "<" << CP->getIndex() << ">"; - } else if (const BasicBlockSDNode *BBDN = - dyn_cast<BasicBlockSDNode>(this)) { + } else if (const BasicBlockSDNode *BBDN = dyn_cast<BasicBlockSDNode>(this)) { std::cerr << "<"; const Value *LBB = (const Value*)BBDN->getBasicBlock()->getBasicBlock(); if (LBB) |