diff options
author | Philip Reames <listmail@philipreames.com> | 2015-03-27 05:09:33 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-03-27 05:09:33 +0000 |
commit | e1bf27045de74e279a003a9d0d1a322c953a71d6 (patch) | |
tree | 8a5313c59874090509ff46627e0a5f5969fba692 /llvm/test/CodeGen/X86/statepoint-invoke.ll | |
parent | f8f0933b488bcbd1cc4b69a93bb18f8c33ce6847 (diff) | |
download | bcm5719-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/CodeGen/X86/statepoint-invoke.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/statepoint-invoke.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/statepoint-invoke.ll b/llvm/test/CodeGen/X86/statepoint-invoke.ll index 91bf46a2a20..177eb96e0d6 100644 --- a/llvm/test/CodeGen/X86/statepoint-invoke.ll +++ b/llvm/test/CodeGen/X86/statepoint-invoke.ll @@ -6,7 +6,9 @@ declare i64 addrspace(1)* @"some_other_call"(i64 addrspace(1)*) declare i32 @"personality_function"() -define i64 addrspace(1)* @test_result(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) { +define i64 addrspace(1)* @test_result(i64 addrspace(1)* %obj, + i64 addrspace(1)* %obj1) + gc "statepoint-example" { entry: ; CHECK: .Ltmp{{[0-9]+}}: ; CHECK: callq some_other_call |