Skip to content

Commit 126158f

Browse files
committed
[Stats] More polly fixes following llvm::Statistic changes in r374490.
llvm-svn: 374501
1 parent e5c61ce commit 126158f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

polly/lib/Transform/ScheduleOptimizer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ STATISTIC(NumBoxedLoopsOptimized, "Number of boxed loops optimized");
276276

277277
#define THREE_STATISTICS(VARNAME, DESC) \
278278
static Statistic VARNAME[3] = { \
279-
{DEBUG_TYPE, #VARNAME "0", DESC " (original)", {0}, {false}}, \
280-
{DEBUG_TYPE, #VARNAME "1", DESC " (after scheduler)", {0}, {false}}, \
281-
{DEBUG_TYPE, #VARNAME "2", DESC " (after optimizer)", {0}, {false}}}
279+
{DEBUG_TYPE, #VARNAME "0", DESC " (original)"}, \
280+
{DEBUG_TYPE, #VARNAME "1", DESC " (after scheduler)"}, \
281+
{DEBUG_TYPE, #VARNAME "2", DESC " (after optimizer)"}}
282282

283283
THREE_STATISTICS(NumBands, "Number of bands");
284284
THREE_STATISTICS(NumBandMembers, "Number of band members");

polly/lib/Transform/Simplify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ namespace {
2828

2929
#define TWO_STATISTICS(VARNAME, DESC) \
3030
static llvm::Statistic VARNAME[2] = { \
31-
{DEBUG_TYPE, #VARNAME "0", DESC " (first)", {0}, {false}}, \
32-
{DEBUG_TYPE, #VARNAME "1", DESC " (second)", {0}, {false}}}
31+
{DEBUG_TYPE, #VARNAME "0", DESC " (first)"}, \
32+
{DEBUG_TYPE, #VARNAME "1", DESC " (second)"}}
3333

3434
/// Number of max disjuncts we allow in removeOverwrites(). This is to avoid
3535
/// that the analysis of accesses in a statement is becoming too complex. Chosen

0 commit comments

Comments
 (0)