diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2012-09-01 14:26:28 +0000 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2012-09-01 14:26:28 +0000 |
commit | 68fab092d1d3588dcc68b229d62cd36f59fb0937 (patch) | |
tree | 0eab0625a3fd56f7d03f4a8eed4bd72c645aec56 /gcc/hooks.c | |
parent | 758095300dbbbf3f72d2f64a2d1901e6c185f433 (diff) |
* 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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190846 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index ae59c333d61..c0046398d72 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -269,6 +269,12 @@ hook_bool_tree_bool_false (tree a ATTRIBUTE_UNUSED, bool b ATTRIBUTE_UNUSED) } bool +hook_bool_rtx_true (rtx a ATTRIBUTE_UNUSED) +{ + return true; +} + +bool hook_bool_rtx_false (rtx a ATTRIBUTE_UNUSED) { return false; |