From 1fbb0d38c7a720f933e33326ae81664d2710d421 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 25 May 2006 18:06:16 +0000 Subject: [PATCH] Fix build failure of povray llvm-svn: 28473 --- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index d5a179cc5f6a..e2191edbf079 100644 --- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -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; -- GitLab