From: Chris Lattner Date: Tue, 25 Oct 2005 18:57:30 +0000 (+0000) Subject: Clear a bit in this file that was causing a miscompilation of 178.galgel. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a158eee3130b93717d9b53b6a128fe193238aea3;p=oota-llvm.git Clear a bit in this file that was causing a miscompilation of 178.galgel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23980 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index ee6f8dd4ce9..0ccd0383ea7 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/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); } }