[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Lauro Ramos Venancio
lauro.venancio at gmail.com
Tue May 15 10:06:11 PDT 2007
Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.303 -> 1.304
---
Log message:
Fix an infinite recursion in GetNegatedExpression.
---
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));
}
}
More information about the llvm-commits
mailing list