projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6ac310d
)
fix miscompilation of llvm.isunordered, where we branched on the opposite
author
Chris Lattner
<sabre@nondot.org>
Mon, 30 Oct 2006 23:02:25 +0000
(23:02 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 30 Oct 2006 23:02:25 +0000
(23:02 +0000)
condition. This fixes miscompilation of Olden/bh and many others.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31301
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 99cd5e7cc616218f09d4a33ec026ba1cd5100127..2bfaa2d72ebbfca78545fbc87900ebb33811a3b2 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-822,8
+822,8
@@
static unsigned getBCCForSetCC(ISD::CondCode CC) {
case ISD::SETUGE:
case ISD::SETGE: return PPC::BGE;
- case ISD::SETO: return PPC::B
UN
;
- case ISD::SETUO: return PPC::B
NU
;
+ case ISD::SETO: return PPC::B
NU
;
+ case ISD::SETUO: return PPC::B
UN
;
}
return 0;
}