From f7302c8bafba6d42db498719dec404efa2beaf9d Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Thu, 28 Jan 2016 21:51:14 +0000 Subject: [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 --- llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp') 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 CountedLoopTripWidth("spp-counted-loop-trip-width", static cl::opt 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 NoStatepoints("spp-no-statepoints", cl::Hidden, - cl::init(false)); +static const bool NoStatepoints = true; // Print tracing output static cl::opt TraceLSP("spp-trace", cl::Hidden, cl::init(false)); -- cgit v1.2.3