aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-08-19 16:32:24 -0400
committerSanjay Patel <spatel@rotateright.com>2020-08-19 16:56:59 -0400
commit6f3511a01a5227358a334803c264cfce4175ca5d (patch)
treeb94e33a537035dad851bc64dfed74584c7bec01f /clang/lib/CodeGen/CodeGenModule.cpp
parentd34df52377fda5452a8c244a8378957eaed66700 (diff)
downloadllvm-6f3511a01a5227358a334803c264cfce4175ca5d.zip
llvm-6f3511a01a5227358a334803c264cfce4175ca5d.tar.gz
llvm-6f3511a01a5227358a334803c264cfce4175ca5d.tar.bz2
[ValueTracking] define/use max recursion depth in header
There's a potential motivating case to increase this limit in PR47191: http://bugs.llvm.org/PR47191 But first we should make it less hacky. The limit in InstCombine is directly tied to this value because an increase there can cause asserts in the underlying value tracking calls if not changed together. The usage in VectorUtils is independent, but the comment suggests that we should use the same value unless there's a known reason to diverge. There are similar limits in codegen analysis, but I think we should leave those independent in case we intentionally want the optimization power/cost to be different there. Differential Revision: https://reviews.llvm.org/D86113
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions