To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

native-client-test.uir 412 Bytes
Newer Older
Kunshan Wang's avatar
Kunshan Wang committed
1
2
3
4
5
6
7
8
9
10
11
// require "primitives.uir"

.global @g_i64 <@i64>

.funcdef @plus_one VERSION %v1 <@i_i> {
    %entry(<@i64> %n):
        %rv = ADD <@i64> %n @I64_1
        RET %rv
}

.expose @plus_one_native = @plus_one #DEFAULT @I64_0
Kunshan Wang's avatar
Kunshan Wang committed
12
13
14
15
16
17
18

.funcdef @trapper VERSION %v1 <@i_i> {
    %entry(<@i64> %n):
        %v1 = [%trap1] TRAP <@i64> KEEPALIVE (%n)
        [%trap2] TRAP <> KEEPALIVE (%v1)
        COMMINST @uvm.thread_exit
}