irbuilder-tests.uir 345 Bytes
Newer Older
Kunshan Wang's avatar
Kunshan Wang committed
1 2 3 4 5 6 7 8 9 10 11 12 13
.const @NULLIREFI8 <@irefi8> = NULL

.funcdef @irbuilder_test VERSION %v1 <@v_v> {
    %entry():
        %irb = COMMINST @uvm.irbuilder.new_ir_builder
        %id1 = COMMINST @uvm.irbuilder.gen_sym (%irb @NULLIREFI8)

        [%trap] TRAP <> KEEPALIVE (%irb %id1)

        COMMINST @uvm.irbuilder.load(%irb)

        COMMINST @uvm.thread_exit
}