commit | 33497cc99210b45eede30b35909929eebe06d734 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Mar 31 06:04:53 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Mar 31 06:04:53 2006 +0000 |
tree | 03d05b6cc4f2efadfdcb3b539106a1fd3486266f | |
parent | 4468c224586ba0f75e17ed7520a39a30e8caf636 [diff] [blame] |
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;