1# RUN: llc -march=amdgcn -run-pass liveintervals -debug-only=regalloc -o /dev/null %s 2>&1 | FileCheck %s 2# REQUIRES: asserts 3 4# CHECK: INTERVALS 5# CHECK: vreg0 6# CHECK-LABEL: Machine code for function test0: 7 8# CHECK: INTERVALS 9# CHECK: vreg0 10# CHECK-LABEL: Machine code for function test1: 11 12--- | 13 define void @test0() { ret void } 14 define void @test1() { ret void } 15... 16--- 17name: test0 18registers: 19 - { id: 0, class: sreg_64 } 20body: | 21 bb.0: 22 S_NOP 0, implicit-def %0 23 S_NOP 0, implicit %0 24 25 S_NOP 0, implicit-def undef %0.sub0 26 S_NOP 0, implicit %0 27... 28--- 29name: test1 30registers: 31 - { id: 0, class: sreg_64 } 32body: | 33 bb.0: 34 successors: %bb.1, %bb.2 35 S_CBRANCH_VCCNZ %bb.1, implicit undef %vcc 36 S_BRANCH %bb.2 37 38 bb.1: 39 successors: %bb.3 40 S_NOP 0, implicit-def undef %0.sub0 41 S_BRANCH %bb.3 42 43 bb.2: 44 successors: %bb.3 45 S_NOP 0, implicit-def %0 46 S_BRANCH %bb.3 47 48 bb.3: 49 S_NOP 0 50 S_NOP 0, implicit %0 51... 52