Mercurial > hg > CbC > CbC_llvm
comparison test/Transforms/PlaceSafepoints/patchable-statepoints.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
5 | 5 |
6 define void @test_id() gc "statepoint-example" personality i32 ()* @personality_function { | 6 define void @test_id() gc "statepoint-example" personality i32 ()* @personality_function { |
7 ; CHECK-LABEL: @test_id( | 7 ; CHECK-LABEL: @test_id( |
8 entry: | 8 entry: |
9 ; CHECK-LABEL: entry: | 9 ; CHECK-LABEL: entry: |
10 ; CHECK: invoke i32 (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 100, i32 0, void ()* @f | 10 ; CHECK: invoke token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 100, i32 0, void ()* @f |
11 invoke void @f() "statepoint-id"="100" to label %normal_return unwind label %exceptional_return | 11 invoke void @f() "statepoint-id"="100" to label %normal_return unwind label %exceptional_return |
12 | 12 |
13 normal_return: | 13 normal_return: |
14 ret void | 14 ret void |
15 | 15 |
20 | 20 |
21 define void @test_num_patch_bytes() gc "statepoint-example" personality i32 ()* @personality_function { | 21 define void @test_num_patch_bytes() gc "statepoint-example" personality i32 ()* @personality_function { |
22 ; CHECK-LABEL: @test_num_patch_bytes( | 22 ; CHECK-LABEL: @test_num_patch_bytes( |
23 entry: | 23 entry: |
24 ; CHECK-LABEL: entry: | 24 ; CHECK-LABEL: entry: |
25 ; CHECK: invoke i32 (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 99, void ()* @f, | 25 ; CHECK: invoke token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 99, void ()* @f, |
26 invoke void @f() "statepoint-num-patch-bytes"="99" to label %normal_return unwind label %exceptional_return | 26 invoke void @f() "statepoint-num-patch-bytes"="99" to label %normal_return unwind label %exceptional_return |
27 | 27 |
28 normal_return: | 28 normal_return: |
29 ret void | 29 ret void |
30 | 30 |