summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-03-27 05:09:33 +0000
committerPhilip Reames <listmail@philipreames.com>2015-03-27 05:09:33 +0000
commite1bf27045de74e279a003a9d0d1a322c953a71d6 (patch)
tree8a5313c59874090509ff46627e0a5f5969fba692 /llvm/test/Transforms/RewriteStatepointsForGC/basics.ll
parentf8f0933b488bcbd1cc4b69a93bb18f8c33ce6847 (diff)
downloadbcm5719-llvm-e1bf27045de74e279a003a9d0d1a322c953a71d6.tar.gz
bcm5719-llvm-e1bf27045de74e279a003a9d0d1a322c953a71d6.zip
Require a GC strategy be specified for functions which use gc.statepoint
This was discussed a while back and I left it optional for migration. Since it's been far more than the 'week or two' that was discussed, time to actually make this manditory. llvm-svn: 233357
Diffstat (limited to 'llvm/test/Transforms/RewriteStatepointsForGC/basics.ll')
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/basics.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll b/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll
index c1a1e4eba55..d8a57b67a5e 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll
@@ -75,7 +75,7 @@ merge:
}
; When run over a function which doesn't opt in, should do nothing!
-define i8 addrspace(1)* @test5(i8 addrspace(1)* %obj) {
+define i8 addrspace(1)* @test5(i8 addrspace(1)* %obj) gc "ocaml" {
; CHECK-LABEL: @test5
; CHECK-LABEL: entry:
; CHECK-NEXT: gc.statepoint
OpenPOWER on IntegriCloud