brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 7bcfd31 Raw
67 lines · plain
1# REQUIRES: amdgpu-registered-target2# RUN: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log3# RUN: FileCheck --check-prefix=RESULT %s < %t4 5# CHECK-INTERESTINGNESS: V_MOV_B326 7 8# RESULT: name: func9# RESULT-NEXT: alignment:       3210# RESULT-NEXT: exposesReturnsTwice: true11# RESULT-NEXT: legalized:       true12# RESULT-NEXT: regBankSelected: true13# RESULT-NEXT: selected:        true14# RESULT-NEXT: failedISel:      true15# RESULT-NEXT: tracksRegLiveness: true16# RESULT-NEXT: hasWinCFI:       true17# RESULT-NEXT: noPhis:          false18# RESULT-NEXT: isSSA:           false19# RESULT-NEXT: noVRegs:         false20# RESULT-NEXT: hasFakeUses: true21# RESULT-NEXT: callsEHReturn: true22# RESULT-NEXT: callsUnwindInit: true23# RESULT-NEXT: hasEHContTarget: true24# RESULT-NEXT: hasEHScopes: true25# RESULT-NEXT: hasEHFunclets: true26# RESULT-NEXT: failsVerification: true27# RESULT-NEXT: tracksDebugUserValues: true28 29# RESULT: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec30# RESULT-NEXT: S_ENDPGM31 32--- |33  define void @func(i32 %size)  {34    ret void35  }36 37...38---39name: func40alignment:       3241exposesReturnsTwice: true42legalized:       true43regBankSelected: true44selected:        true45failedISel:      true46tracksRegLiveness: true47hasWinCFI:       true48noPhis:          false49isSSA:           false50noVRegs:         false51hasFakeUses: true52failsVerification: true53tracksDebugUserValues: true54callsEHReturn: true55callsUnwindInit: true56hasEHContTarget: true57hasEHScopes: true58hasEHFunclets: true59 60body:             |61  bb.0:62    S_NOP 063    %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec64    INLINEASM &"", 1 /* sideeffect attdialect */65    S_ENDPGM 0, implicit %066...67