summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-01-29 00:28:57 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-01-29 00:28:57 +0000
commit0407108020ed12d8c34582d847d2c37cd68d1d0b (patch)
tree7de1975eea25776ce57985fbd3c86e19066e48fb /llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll
parentbaf16512ea3187a38b8f7a0298b8c4c2f0741ae5 (diff)
downloadbcm5719-llvm-0407108020ed12d8c34582d847d2c37cd68d1d0b.tar.gz
bcm5719-llvm-0407108020ed12d8c34582d847d2c37cd68d1d0b.zip
[RS4GC] Clamp UseDeoptBundles to true and update tests
The full diff for the test directory may be hard to read because of the filename clash; so here's all that happened as far as the tests are concerned: ``` cd test/Transforms/RewriteStatepointsForGC git rm *ll git mv deopt-bundles/* ./ rmdir deopt-bundles find . -name '*.ll' | xargs gsed -i 's/-rs4gc-use-deopt-bundles //g' ``` llvm-svn: 259129
Diffstat (limited to 'llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll')
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll b/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll
index a28c925f782..5149a291815 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
+; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
; CHECK: derived %next base %base_obj
@@ -19,8 +19,6 @@ loop: ; preds = %loop, %entry
; CHECK-DAG: [ %next.relocated.casted, %loop ]
%current = phi i64 addrspace(1)* [ %obj, %entry ], [ %next, %loop ]
%next = getelementptr i64, i64 addrspace(1)* %current, i32 1
- %safepoint_token = call token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 0, i32 0, void ()* @do_safepoint, i32 0, i32 0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i32 0)
+ call void @do_safepoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
br label %loop
}
-
-declare token @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...) \ No newline at end of file
OpenPOWER on IntegriCloud