This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tree_ssa_useless_type_conversions
- From: law at redhat dot com
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 10 Nov 2003 13:10:27 -0700
- Subject: Re: tree_ssa_useless_type_conversions
- Reply-to: law at redhat dot com
In message <20031106174726.GT13705@kam.mff.cuni.cz>, Jan Hubicka writes:
>Hi,
>I run into problems with operations having different types as operands
>(similar to one causing string-opt failures I just fixed). These seems
>to be commig from the fact that phi nodes already does have such a wrong
>types after dominator optimizations because of
>tree_ssa_useless_type_conversion
>
>What is our expected behaviour here? Should simplifiers/expanders deal
>with such a type differences or should we always care to re-invent the
>nop?
Can you be more specific?
tree_ssa_useless_type_conversion is designed to flag totally pointless
type conversions. If it's removing something that the simplifiers or
expanders need, then we need to look closely at the code in question
to determine what the right course of action would be.
Jeff