On Sun, Aug 26, 2012 at 11:00 AM, Uros Bizjak <ubiz...@gmail.com> wrote:
> Actually a v3 of TARGET_REJECT_COMBINED_INSN target hook. > > Changes: > - rename the hook and reverse the return value > > 2012-08-25 Uros Bizjak <ubiz...@gmail.com> > > * target.def (legitimate_combined_insn): New target hook. > * doc/tm.texi.in (TARGET_LEGITIMATE_COMBINED_INSN): New hook. > * doc/tm.texi: Regenerated. > * combine.c (recog_for_combine): Call targetm.legitimate_combined_insn > to allow targets to reject combined insn. > * hooks.h (hook_bool_rtx_true): New. > * hooks.c (hook_bool_rtx_true): Ditto. > > Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}, > also with target-dependant x86 patch that implements the hook. I have committed the patch to mainline SVN, since the patch is non-algorithmic and has no impact on non-x86 targets. Uros.