summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2016-05-27 15:27:51 +0000
committerThan McIntosh <thanm@google.com>2016-05-27 15:27:51 +0000
commit4daf7f13b6d432eef84f0dfbc488e228ec332da2 (patch)
tree10d71def768df2b31df0a36be6d5add36d64c274 /llvm/lib/CodeGen
parenta6e3e93fb9ca0c97e450934355ec0e307d4cd9ea (diff)
downloadbcm5719-llvm-4daf7f13b6d432eef84f0dfbc488e228ec332da2.tar.gz
bcm5719-llvm-4daf7f13b6d432eef84f0dfbc488e228ec332da2.zip
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
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/StackColoring.cpp4
1 files changed, 2 insertions, 2 deletions
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<bool>
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."));
OpenPOWER on IntegriCloud