From: Reid Kleckner Date: Fri, 27 Apr 2018 21:51:25 +0000 (+0000) Subject: [FastISel] Actually enable local value sinking by default X-Git-Tag: llvmorg-7.0.0-rc1~7182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efc0f8cbdc5e29dcc78ed05c1048367890687ce5;p=platform%2Fupstream%2Fllvm.git [FastISel] Actually enable local value sinking by default llvm-svn: 331088 --- diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 23a7798..4b100ac 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -113,11 +113,9 @@ using namespace llvm; #define DEBUG_TYPE "isel" -// FIXME: Remove this when compile time issues are addressed. Do this by only -// numbering instructions between local value map flush points instead of the -// entire BB. +// FIXME: Remove this after the feature has proven reliable. static cl::opt SinkLocalValues("fast-isel-sink-local-values", - cl::init(false), cl::Hidden, + cl::init(true), cl::Hidden, cl::desc("Sink local values in FastISel")); STATISTIC(NumFastIselSuccessIndependent, "Number of insts selected by "