InstCombine: Fix a crasher when encountering a function pointer.
[oota-llvm.git] / lib / Transforms / InstCombine / InstructionCombining.cpp
index 88405c9d4d8dec35ba298bd9ee87a882a70cc85c..68ecd516049dedac200c7e44cb35df227465469f 100644 (file)
@@ -207,7 +207,7 @@ bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) {
           // Conservatively clear the optional flags, since they may not be
           // preserved by the reassociation.
           if (MaintainNoSignedWrap(I, B, C) &&
-             (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) {
+              (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) {
             // Note: this is only valid because SimplifyBinOp doesn't look at
             // the operands to Op0.
             I.clearSubclassOptionalData();