This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
-------------------------------------------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]