aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbgcnt.def
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-06-06 17:00:46 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2017-06-06 17:00:46 +0000
commit1a70c8d54274226d5613569fe7df134f882a0263 (patch)
treecdde47417866f7ddef28e0e0e14d3165b6226876 /gcc/dbgcnt.def
parent6c6b519a32c3431fa5fde89db585ddc32eb83da2 (diff)
downloadgcc-1a70c8d54274226d5613569fe7df134f882a0263.zip
gcc-1a70c8d54274226d5613569fe7df134f882a0263.tar.gz
gcc-1a70c8d54274226d5613569fe7df134f882a0263.tar.bz2
Add debug counter for loop array prefetching.
* dbgcnt.def (prefetch): New debug counter. * tree-ssa-loop-prefetch.c (dbgcnt.h): New include. (schedule_prefetches): Stop issueing prefetches if debug counter tripped. Change-Id: Ia6160364735a889fb6d2370be21d98f87c0fe962 From-SVN: r248924
Diffstat (limited to 'gcc/dbgcnt.def')
-rw-r--r--gcc/dbgcnt.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dbgcnt.def b/gcc/dbgcnt.def
index ded20e0..6c63508 100644
--- a/gcc/dbgcnt.def
+++ b/gcc/dbgcnt.def
@@ -174,6 +174,7 @@ DEBUG_COUNTER (merged_ipa_icf)
DEBUG_COUNTER (postreload_cse)
DEBUG_COUNTER (pre)
DEBUG_COUNTER (pre_insn)
+DEBUG_COUNTER (prefetch)
DEBUG_COUNTER (registered_jump_thread)
DEBUG_COUNTER (sched2_func)
DEBUG_COUNTER (sched_block)