summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-01-28 21:51:14 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-01-28 21:51:14 +0000
commitf7302c8bafba6d42db498719dec404efa2beaf9d (patch)
treed81af9c0b564e8ae5584e8fd319043f88f04d41d /llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
parente7f0058c39f7e066b9e3fefbd9294d985709321b (diff)
downloadbcm5719-llvm-f7302c8bafba6d42db498719dec404efa2beaf9d.tar.gz
bcm5719-llvm-f7302c8bafba6d42db498719dec404efa2beaf9d.zip
[PlaceSafepoints] Clamp NoStatepoints to true
This change permanently clamps -spp-no-statepoints to true (the code deletion will come later). Tests that specifically tested PlaceSafepoint's ability to wrap calls in gc.statepoint have been moved to RS4GC's test suite. llvm-svn: 259096
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 63e8115bea6..2f6e7073118 100644
--- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
@@ -108,10 +108,7 @@ static cl::opt<int> CountedLoopTripWidth("spp-counted-loop-trip-width",
static cl::opt<bool> SplitBackedge("spp-split-backedge", cl::Hidden,
cl::init(false));
-// If true, don't wrap calls (the ones present in the IR, and the ones
-// introduced due to polls) in gc.statepoint.
-static cl::opt<bool> NoStatepoints("spp-no-statepoints", cl::Hidden,
- cl::init(false));
+static const bool NoStatepoints = true;
// Print tracing output
static cl::opt<bool> TraceLSP("spp-trace", cl::Hidden, cl::init(false));
OpenPOWER on IntegriCloud