brintos

brintos / llvm-project-archived public Read only

0
0
Text · 726 B · 09496ee Raw
33 lines · plain
1# RUN: llc -mtriple=amdgcn -run-pass liveintervals -debug-only=regalloc -verify-machineinstrs -filetype=null %s 2>&1 | FileCheck %s2# RUN: llc -mtriple=amdgcn --passes='print<live-intervals>' -debug-only=regalloc -filetype=null %s 2>&1 | FileCheck %s3# REQUIRES: asserts4 5# CHECK: INTERVALS6# CHECK: %07# CHECK-LABEL: Machine code for function test1:8 9--- |10  define amdgpu_kernel void @test1() { ret void }11...12---13name: test114registers:15  - { id: 0, class: sreg_64 }16body: |17  bb.0:18    S_CBRANCH_VCCNZ %bb.1, implicit undef $vcc19    S_BRANCH %bb.220 21  bb.1:22    S_NOP 0, implicit-def undef %0.sub023    S_BRANCH %bb.324 25  bb.2:26    S_NOP 0, implicit-def %027    S_BRANCH %bb.328 29  bb.3:30    S_NOP 031    S_NOP 0, implicit %032...33