Commit ab7cbc9a authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r297075:

------------------------------------------------------------------------
r297075 | hans | 2017-03-06 13:10:40 -0800 (Mon, 06 Mar 2017) | 1 line

Disable gvn-hoist (PR32153)
------------------------------------------------------------------------

llvm-svn: 297165
parent d251e94e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -57,13 +57,6 @@ Non-comprehensive list of changes in this release
  with LLVM option ``-adce-remove-loops`` when the loop body otherwise has
  no live operations.

* The GVNHoist pass is now enabled by default. The new pass based on Global
  Value Numbering detects similar computations in branch code and replaces
  multiple instances of the same computation with a unique expression.  The
  transform benefits code size and generates better schedules.  GVNHoist is
  more aggressive at ``-Os`` and ``-Oz``, hoisting more expressions at the
  expense of execution time degradations.

 * The llvm-cov tool can now export coverage data as json. Its html output mode
   has also improved.

+2 −2
Original line number Diff line number Diff line
@@ -141,8 +141,8 @@ static cl::opt<int> PreInlineThreshold(
             "(default = 75)"));

static cl::opt<bool> EnableGVNHoist(
    "enable-gvn-hoist", cl::init(true), cl::Hidden,
    cl::desc("Enable the GVN hoisting pass (default = on)"));
    "enable-gvn-hoist", cl::init(false), cl::Hidden,
    cl::desc("Enable the GVN hoisting pass"));

static cl::opt<bool>
    DisableLibCallsShrinkWrap("disable-libcalls-shrinkwrap", cl::init(false),
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ attributes #0 = { optnone noinline }
; OPT-O1-DAG: Skipping pass 'Combine redundant instructions'
; OPT-O1-DAG: Skipping pass 'Dead Store Elimination'
; OPT-O1-DAG: Skipping pass 'Early CSE'
; OPT-O1-DAG: Skipping pass 'Early GVN Hoisting of Expressions'
; OPT-O1-DAG: Skipping pass 'Jump Threading'
; OPT-O1-DAG: Skipping pass 'MemCpy Optimization'
; OPT-O1-DAG: Skipping pass 'Reassociate expressions'