From 2a29bc01954e04bac1973efe68295d89e5a2ca78 Mon Sep 17 00:00:00 2001
From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 1 Sep 2012 14:26:28 +0000
Subject: 	* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190846 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/hooks.c | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'gcc/hooks.c')

diff --git a/gcc/hooks.c b/gcc/hooks.c
index ae59c333d61..c0046398d72 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -268,6 +268,12 @@ hook_bool_tree_bool_false (tree a ATTRIBUTE_UNUSED, bool b ATTRIBUTE_UNUSED)
   return false;
 }
 
+bool
+hook_bool_rtx_true (rtx a ATTRIBUTE_UNUSED)
+{
+  return true;
+}
+
 bool
 hook_bool_rtx_false (rtx a ATTRIBUTE_UNUSED)
 {
-- 
cgit v1.2.1