diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-01 14:26:28 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-01 14:26:28 +0000 |
commit | 2a29bc01954e04bac1973efe68295d89e5a2ca78 (patch) | |
tree | 0eab0625a3fd56f7d03f4a8eed4bd72c645aec56 /gcc/hooks.c | |
parent | f6142c78abd78e29ade9b1c1ab2db574814e9e1e (diff) | |
download | gcc-2a29bc01954e04bac1973efe68295d89e5a2ca78.tar.gz |
* 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
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; |