[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Chris Lattner
clattner at apple.com
Tue May 15 11:04:12 PDT 2007
> Fix an infinite recursion in GetNegatedExpression.
Doh, thanks a lot Lauro!
-Chris
>
>
> ---
> Diffs of the changes: (+1 -1)
>
> DAGCombiner.cpp | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>
> Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
> diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.303 llvm/
> lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.304
> --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.303 Mon May 14
> 17:04:50 2007
> +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Tue May 15
> 12:05:43 2007
> @@ -449,7 +449,7 @@
> case ISD::FP_ROUND:
> case ISD::FSIN:
> return DAG.getNode(Op.getOpcode(), Op.getValueType(),
> - GetNegatedExpression(Op, DAG));
> + GetNegatedExpression(Op.getOperand(0), DAG));
> }
> }
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list