Merge pull request #20630 from atrick/fix-quadratic-block-merge

Fix block merging after inlining to be linear, not quadratic.
This commit is contained in:
Andrew Trick
2018-11-27 11:08:59 -08:00
committed by GitHub
17 changed files with 199 additions and 268 deletions

View File

@@ -21,7 +21,9 @@
#include <thread>
#include <tuple>
#define SWIFT_FUNC_STAT \
#define SWIFT_FUNC_STAT SWIFT_FUNC_STAT_NAMED(DEBUG_TYPE)
#define SWIFT_FUNC_STAT_NAMED(DEBUG_TYPE) \
do { \
static llvm::Statistic FStat = \
{DEBUG_TYPE, __func__, __func__, {0}, {false}}; \