Add debug counter for loop array prefetching.
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Tue, 6 Jun 2017 17:00:46 +0000 (17:00 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Tue, 6 Jun 2017 17:00:46 +0000 (17:00 +0000)
commit1a70c8d54274226d5613569fe7df134f882a0263
treecdde47417866f7ddef28e0e0e14d3165b6226876
parent6c6b519a32c3431fa5fde89db585ddc32eb83da2
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
gcc/ChangeLog
gcc/dbgcnt.def
gcc/tree-ssa-loop-prefetch.c