[patch] Decrease # of update_stmt calls from alias analysis
Diego Novillo
dnovillo@redhat.com
Wed Mar 1 12:32:00 GMT 2006
On 03/01/06 05:23, Zdenek Dvorak wrote:
> * tree-flow.h (struct stmt_ann_d): Add has_virtual_ops field.
> * tree-ssa-structalias.c (find_func_aliases): Only mark
> the statements that may have virtual operands for rescanning.
> * tree-ssa-operands.c (build_ssa_operands, get_expr_operands,
> get_asm_expr_operands, get_call_expr_operands): Set has_virtual_ops
> field.
>
No. Not another state flag to keep up-to-date. Particularly if it
gives no benefit. Use stmt_references_memory_p, if you must.
More information about the Gcc-patches
mailing list