projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f99b6b
)
Fix Benchmarks/MallocBench/cfrac
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 16:54:16 +0000
(16:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 16:54:16 +0000
(16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28471
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index 071e844ac58fb77fd1ead4bc37da62154173a646..d5a179cc5f6a73d8d028e4acff5d54cefcb0835f 100644
(file)
--- 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: