This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
On Sat, 2012-08-25 at 20:25 +0200, Georg-Johann Lay wrote:
> BTW: while I typed the lines above I find it more natural to
> return "true" for good patterns and "false" for bad patterns
> and not vice versa. But that's just a matter of taste.
But then that won't fit with 'reject_combined_insn'.
Reject? -> return 'true' for bad pattern that is to be rejected.
Maybe if the hook was called something like
'legitimate_combined_insn'...
Cheers,
Oleg
- References:
- [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- [PATCH v2, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH v2, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH v2, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook
- Re: [PATCH v2, middle-end]: Introduce TARGET_REJECT_COMBINED_INSN target hook