This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] patch suggestion: def_op vs vdef_ops
- From: Jose Renau <renau at cs dot uiuc dot edu>
- To: law at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Jan 2003 18:09:05 -0600 (CST)
- Subject: Re: [tree-ssa] patch suggestion: def_op vs vdef_ops
On Wed, 29 Jan 2003 law@redhat.com wrote:
> If you wanted to run ccp, dce, etc etc on memory operands, then you'd
> iterate over both.
>
> The decision would (of course) be controlled by a user switch :-)
Do you mean that when "get_stmt_operands (stmt)" is called, it would have
an additional flag that would force to store in dep_op?
Something like:
get_stmt_operands (stmt, false); /* Current version */
get_stmt_operands (stmt, true); /* The one sugested in the email */
--
-------------------------------------------------------------------
Jose Renau | Only those who attempt the absurd can
renau at cs.uiuc.edu | achieve the impossible. - Pth group
-------------------------------------------------------------------