mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Fix an infinite recursion in GetNegatedExpression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37086 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -449,7 +449,7 @@ static SDOperand GetNegatedExpression(SDOperand Op, SelectionDAG &DAG) {
|
||||
case ISD::FP_ROUND:
|
||||
case ISD::FSIN:
|
||||
return DAG.getNode(Op.getOpcode(), Op.getValueType(),
|
||||
GetNegatedExpression(Op, DAG));
|
||||
GetNegatedExpression(Op.getOperand(0), DAG));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user