diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-13 19:53:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-13 19:53:40 +0000 |
commit | e3d17d8225a453a36927556f4e053b0e3c12f66f (patch) | |
tree | 80501d988ef1b542670e93bd1f3a630388d2cb3d /llvm | |
parent | 8c3d409dc7bd29209301f010d710bd56f7c70c79 (diff) | |
download | bcm5719-llvm-e3d17d8225a453a36927556f4e053b0e3c12f66f.tar.gz bcm5719-llvm-e3d17d8225a453a36927556f4e053b0e3c12f66f.zip |
fix some serious miscompiles on ia64, alpha, and ppc
llvm-svn: 21288
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4b3064593c7..64774c2fe41 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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); |