note to self: *save* file, then check it in


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27291 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 76fcde6..b92e4f3 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -1392,7 +1392,7 @@
         }
       
       // If there are non-zero uses of the flag value, use the VCMPo node!
-      if (!VCMPoNode->hasNUsesOfValue(0, 1))
+      if (VCMPoNode && !VCMPoNode->hasNUsesOfValue(0, 1))
         return SDOperand(VCMPoNode, 0);
     }
     break;