Both of these functions recursively call themselves so it makes sense
to limit that upper bound.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
4027 | This is missing a depth too? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5013–5015 | Need to pass Depth into the recursive calls, otherwise what's the point? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
3979 | In the existing SelectionDAG recursion methods, we don't increment Depth here but in the recursive calls to make it more obvious (and avoids any messy Depth - 1 hacks) |
In the existing SelectionDAG recursion methods, we don't increment Depth here but in the recursive calls to make it more obvious (and avoids any messy Depth - 1 hacks)