Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / GlobalISel / regbankselect-amdgcn.groupstaticsize.mir
blobdbe782d5657152da8262a8dac993c2e06cd976c8
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=amdgpu-regbankselect -regbankselect-fast -verify-machineinstrs -o -  %s | FileCheck %s
3 # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=amdgpu-regbankselect -regbankselect-greedy -verify-machineinstrs -o -  %s | FileCheck %s
5 ---
6 name: groupstaticsize
7 legalized: true
9 body: |
10   bb.0:
11     ; CHECK-LABEL: name: groupstaticsize
12     ; CHECK: [[INT:%[0-9]+]]:sgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.groupstaticsize)
13     %0:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.groupstaticsize)
14 ...