On 03/01/2013 04:12 PM, Xinliang David Li wrote:
The following patch limit the depth for post-dom walk in the analysis
-- in the presence of complicated control flow, the analysis should
bail out sooner.
Bootstrapped on x86-64/linux. No regressions found. OK for trunk?
thanks,
David
2013-03-01 Xinliang David Li <davi...@google.com>
* tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom
walk length.
#define MAX_NUM_CHAINS 8
#define MAX_CHAIN_LEN 5
+#define MAX_POSTDOM_CHECK 8
I don't like the magic constants, but I dislike knobs that users won't
understand even more.
OK.
Jeff