aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index e262fcb..a671486 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1738,5 +1738,14 @@ default_builtin_chkp_function (unsigned int fcode ATTRIBUTE_UNUSED)
return NULL_TREE;
}
+/* An implementation of TARGET_CAN_USE_DOLOOP_P for targets that do
+ not support nested low-overhead loops. */
+
+bool
+can_use_doloop_if_innermost (double_int, double_int,
+ unsigned int loop_depth, bool)
+{
+ return loop_depth == 1;
+}
#include "gt-targhooks.h"