summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/PlaceSafepoints/patchable-statepoints.ll
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/test/Transforms/PlaceSafepoints/patchable-statepoints.ll
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/test/Transforms/PlaceSafepoints/patchable-statepoints.ll')
-rw-r--r--llvm/test/Transforms/PlaceSafepoints/patchable-statepoints.ll44
1 files changed, 0 insertions, 44 deletions
diff --git a/llvm/test/Transforms/PlaceSafepoints/patchable-statepoints.ll b/llvm/test/Transforms/PlaceSafepoints/patchable-statepoints.ll
deleted file mode 100644
index 2303ac7ef51..00000000000
--- a/llvm/test/Transforms/PlaceSafepoints/patchable-statepoints.ll
+++ /dev/null
@@ -1,44 +0,0 @@
-; RUN: opt -place-safepoints -S < %s | FileCheck %s
-
-declare void @f()
-declare i32 @personality_function()
-
-define void @test_id() gc "statepoint-example" personality i32 ()* @personality_function {
-; CHECK-LABEL: @test_id(
-entry:
-; CHECK-LABEL: entry:
-; CHECK: invoke token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 100, i32 0, void ()* @f
- invoke void @f() "statepoint-id"="100" to label %normal_return unwind label %exceptional_return
-
-normal_return:
- ret void
-
-exceptional_return:
- %landing_pad4 = landingpad {i8*, i32} cleanup
- ret void
-}
-
-define void @test_num_patch_bytes() gc "statepoint-example" personality i32 ()* @personality_function {
-; CHECK-LABEL: @test_num_patch_bytes(
-entry:
-; CHECK-LABEL: entry:
-; CHECK: invoke token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 99, void ()* @f,
- invoke void @f() "statepoint-num-patch-bytes"="99" to label %normal_return unwind label %exceptional_return
-
-normal_return:
- ret void
-
-exceptional_return:
- %landing_pad4 = landingpad {i8*, i32} cleanup
- ret void
-}
-
-declare void @do_safepoint()
-define void @gc.safepoint_poll() {
-entry:
- call void @do_safepoint()
- ret void
-}
-
-; CHECK-NOT: statepoint-id
-; CHECK-NOT: statepoint-num-patch_bytes
OpenPOWER on IntegriCloud