summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-25 18:57:30 +0000
committerChris Lattner <sabre@nondot.org>2005-10-25 18:57:30 +0000
commit3b409a85eb2d7a70d2f3aace87d21db1eda7e719 (patch)
tree6e8eae7086881981393a5ceceeb5aff3c5fbda05 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent64b830bc0c7b7aaf7add0229bd680e33dee3ba14 (diff)
downloadbcm5719-llvm-3b409a85eb2d7a70d2f3aace87d21db1eda7e719.tar.gz
bcm5719-llvm-3b409a85eb2d7a70d2f3aace87d21db1eda7e719.zip
Clear a bit in this file that was causing a miscompilation of 178.galgel.
llvm-svn: 23980
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index ee6f8dd4ce9..0ccd0383ea7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -2472,7 +2472,7 @@ SDOperand DAGCombiner::SimplifySetCC(MVT::ValueType VT, SDOperand N0,
if (N0.getOperand(0) == N1.getOperand(1))
return DAG.getSetCC(VT, N0.getOperand(1), N1.getOperand(0), Cond);
if (N0.getOperand(1) == N1.getOperand(0))
- return DAG.getSetCC(VT, N0.getOperand(1), N1.getOperand(1), Cond);
+ return DAG.getSetCC(VT, N0.getOperand(0), N1.getOperand(1), Cond);
}
}
OpenPOWER on IntegriCloud