[PATCH] D67711: [DAG] Add SelectionDAG::MaxRecursionDepth constant
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 08:26:44 PDT 2019
RKSimon created this revision.
RKSimon added reviewers: spatel, arsenm, efriedma, craig.topper.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
As commented on D67557 <https://reviews.llvm.org/D67557> we have a lot of uses of depth checks all using magic numbers.
This patch adds the SelectionDAG::MaxRecursionDepth constant and moves over some general cases to use this explicitly.
Repository:
rL LLVM
https://reviews.llvm.org/D67711
Files:
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67711.220671.patch
Type: text/x-patch
Size: 3741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190918/0f7adb58/attachment.bin>
More information about the llvm-commits
mailing list