From 4daf7f13b6d432eef84f0dfbc488e228ec332da2 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Fri, 27 May 2016 15:27:51 +0000 Subject: Disable lifetime-start-on-first-use analysis. Summary: Turn off lifetime-start-on-first-use enhancement for the moment pending a fix for bug 27903. Bug: 27903 Reviewers: tejohnson, wmi, qcolombet, gbiv Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20731 llvm-svn: 271003 --- llvm/lib/CodeGen/StackColoring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp index dfaad585ca4..281836e909d 100644 --- a/llvm/lib/CodeGen/StackColoring.cpp +++ b/llvm/lib/CodeGen/StackColoring.cpp @@ -75,10 +75,10 @@ ProtectFromEscapedAllocas("protect-from-escaped-allocas", /// Enable enhanced dataflow scheme for lifetime analysis (treat first /// use of stack slot as start of slot lifetime, as opposed to looking /// for LIFETIME_START marker). See "Implementation notes" below for -/// more info. +/// more info. FIXME: set to false for the moment due to PR27903. static cl::opt LifetimeStartOnFirstUse("stackcoloring-lifetime-start-on-first-use", - cl::init(true), cl::Hidden, + cl::init(false), cl::Hidden, cl::desc("Treat stack lifetimes as starting on first use, not on START marker.")); -- cgit v1.2.3