diff options
| author | Scott Michel <scottm@aero.org> | 2008-12-04 17:16:59 +0000 |
|---|---|---|
| committer | Scott Michel <scottm@aero.org> | 2008-12-04 17:16:59 +0000 |
| commit | 187250bd94c2daeaadf3ff058b3475c3400ea9f8 (patch) | |
| tree | d5f9007b78b1034f8ac3abb025919c63e8e42e07 /llvm | |
| parent | 4588d0f060212a774eae083d858389dd8af4fa74 (diff) | |
| download | bcm5719-llvm-187250bd94c2daeaadf3ff058b3475c3400ea9f8.tar.gz bcm5719-llvm-187250bd94c2daeaadf3ff058b3475c3400ea9f8.zip | |
Missing closing brace and reverse conditional condition on NDEBUG
llvm-svn: 60541
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/CellSPU/SPUISelLowering.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp index a08ee876f87..17d88a937ad 100644 --- a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp @@ -766,7 +766,7 @@ LowerSTORE(SDValue Op, SelectionDAG &DAG, const SPUSubtarget *ST) { LN->getSrcValue(), LN->getSrcValueOffset(), LN->isVolatile(), LN->getAlignment()); -#if 0 && defined(NDEBUG) +#if 0 && !defined(NDEBUG) if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { const SDValue ¤tRoot = DAG.getRoot(); @@ -3021,7 +3021,7 @@ SPUTargetLowering::PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const SDValue combinedConst = DAG.getConstant(CN0->getZExtValue() + CN1->getZExtValue(), Op0VT); -#if defined(NDEBUG) +#if !defined(NDEBUG) if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { cerr << "\n" << "Replace: (add " << CN0->getZExtValue() << ", " @@ -3064,14 +3064,14 @@ SPUTargetLowering::PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const // (any_extend (SPUextract_elt0 <arg>)) -> // (SPUextract_elt0 <arg>) // Types must match, however... -#if defined(NDEBUG) - // if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { +#if !defined(NDEBUG) + if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) { cerr << "\nReplace: "; N->dump(&DAG); cerr << "\nWith: "; Op0.getNode()->dump(&DAG); cerr << "\n"; - + } #endif return Op0; |

