Fix build failure of povray
authorChris Lattner <sabre@nondot.org>
Thu, 25 May 2006 18:06:16 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 May 2006 18:06:16 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28473 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelDAGToDAG.cpp

index d5a179cc5f6a73d8d028e4acff5d54cefcb0835f..e2191edbf079d972f726efd16e53eb8a9e92e8c2 100644 (file)
@@ -757,8 +757,10 @@ static unsigned getCRIdxForSetCC(ISD::CondCode CC, bool& Inv) {
   case ISD::SETULE:
   case ISD::SETLE:  Inv = true;   return 1;
   case ISD::SETOEQ:  // FIXME: This is incorrect see PR642.
+  case ISD::SETUEQ:
   case ISD::SETEQ:  Inv = false;  return 2;
   case ISD::SETONE:  // FIXME: This is incorrect see PR642.
+  case ISD::SETUNE:
   case ISD::SETNE:  Inv = true;   return 2;
   case ISD::SETO:   Inv = true;   return 3;
   case ISD::SETUO:  Inv = false;  return 3;