This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regclass.c: scan_one_insn special casing
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: echristo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 27 Mar 04 17:00:11 EST
- Subject: Re: regclass.c: scan_one_insn special casing
> Sure, but it's better to do something in *machine-independent* code if
> you can.
Then why bother having define_split?
For those very few cases that are machine-specific.
There's just something wrong with special casing all over the compiler
just for a small case that could/should be handled somewhere else.
But I feel that this case should be handled right where ti is and that's
the best place to put it.
How is it better to put this in a define_split in each port?