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




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