This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] SWITCH_EXPR lowering
On Mon, Oct 27, 2003 at 01:12:03PM +0100, Jan Hubicka wrote:
> This may be nice at least as intermediate step, however it seems to me
> that we want to have actual decomposition of switch into tablejumps and
> condjumps explicit in the gimple form.
Well, the form I'm asking for for SWITCH_EXPR _is_ a tablejump.
> Also it seems to me that we should take seriously memory requiriements
> of gimple form ...
Agreed, though we've not really started thinking about this yet.
> What about introducing COND_GOTO/GIMPLE_SWITCH_EXPR/TABLEJUMP_EXPR to
> represent control flow in lowlevel way and avoid nesting generic stuff?
We'll see.
r~