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:
51679c4
)
fix some serious miscompiles on ia64, alpha, and ppc
author
Chris Lattner
<sabre@nondot.org>
Wed, 13 Apr 2005 19:53:40 +0000
(19:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 13 Apr 2005 19:53:40 +0000
(19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21288
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 4b3064593c78edd1175eafab3a3ca933f71bbbaa..64774c2fe41e8820707a749dc4aaba61c3b83442 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-798,7
+798,7
@@
SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
if (N1.getOpcode() == ISD::SETCC &&
TLI.getSetCCResultContents() == TargetLowering::ZeroOrOneSetCCResult)
if (C2 & 1)
- return getNode(ISD::AND, VT, N1
.getOperand(1)
, getConstant(1, VT));
+ return getNode(ISD::AND, VT, N1, getConstant(1, VT));
else
return getConstant(0, VT);