From: Chris Lattner Date: Thu, 25 May 2006 16:54:16 +0000 (+0000) Subject: Fix Benchmarks/MallocBench/cfrac X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d634ce466173f6fde49470fad125eb09532caeb;p=oota-llvm.git Fix Benchmarks/MallocBench/cfrac git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28471 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 071e844ac58..d5a179cc5f6 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -714,8 +714,10 @@ static unsigned getBCCForSetCC(ISD::CondCode CC) { switch (CC) { default: assert(0 && "Unknown condition!"); abort(); case ISD::SETOEQ: // FIXME: This is incorrect see PR642. + case ISD::SETUEQ: case ISD::SETEQ: return PPC::BEQ; case ISD::SETONE: // FIXME: This is incorrect see PR642. + case ISD::SETUNE: case ISD::SETNE: return PPC::BNE; case ISD::SETOLT: // FIXME: This is incorrect see PR642. case ISD::SETULT: