[Attributor] Provide a command line option that limits recursion depth
authorJohannes Doerfert <johannes@jdoerfert.de>
Tue, 18 Aug 2020 20:27:41 +0000 (15:27 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 9 Sep 2020 05:47:02 +0000 (00:47 -0500)
commitd5d75f61e5fbeb290944ee5d28d6cd13fd40f223
tree66c1370f2360f317d1379b9d470d5cd3ac772158
parentc58dfbdc818275dd0e8f34939a95da546c49cdf6
[Attributor] Provide a command line option that limits recursion depth

In `MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp` we initialized
attributes until stack frame ~35k caused space to run out. The initial
size 1024 is pretty much random.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/chain.ll [new file with mode: 0644]