1 # REQUIRES: amdgpu-registered-target
2 # 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.log
3 # RUN: FileCheck --check-prefix=RESULT %s < %t
5 # CHECK-INTERESTINGNESS: V_MOV_B32
9 # RESULT-NEXT: alignment: 32
10 # RESULT-NEXT: exposesReturnsTwice: true
11 # RESULT-NEXT: legalized: true
12 # RESULT-NEXT: regBankSelected: true
13 # RESULT-NEXT: selected: true
14 # RESULT-NEXT: failedISel: true
15 # RESULT-NEXT: tracksRegLiveness: true
16 # RESULT-NEXT: hasWinCFI: true
17 # RESULT-NEXT: noPhis: false
18 # RESULT-NEXT: isSSA: false
19 # RESULT-NEXT: noVRegs: false
20 # RESULT-NEXT: hasFakeUses: true
21 # RESULT-NEXT: callsEHReturn: true
22 # RESULT-NEXT: callsUnwindInit: true
23 # RESULT-NEXT: hasEHCatchret: true
24 # RESULT-NEXT: hasEHScopes: true
25 # RESULT-NEXT: hasEHFunclets: true
26 # RESULT-NEXT: failsVerification: true
27 # RESULT-NEXT: tracksDebugUserValues: true
29 # RESULT: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
30 # RESULT-NEXT: S_ENDPGM
33 define void @func(i32 %size) {
41 exposesReturnsTwice: true
46 tracksRegLiveness: true
52 failsVerification: true
53 tracksDebugUserValues: true
63 %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
64 INLINEASM &"", 1 /* sideeffect attdialect */
65 S_ENDPGM 0, implicit %0