[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / shrink-i32-kimm.mir
blob02cda1a0d4533cd30cd9380dae842a108d068dd8
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
2 # RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=si-shrink-instructions -o - %s | FileCheck -check-prefix=GCN %s
4 ---
5 name:            shrink_kimm32_mov_b32
6 tracksRegLiveness: true
7 body:             |
8   bb.0:
10     ; GCN-LABEL: name: shrink_kimm32_mov_b32
11     ; GCN: $sgpr0 = S_MOVK_I32 -2048
12     $sgpr0 = S_MOV_B32 4294965248
13 ...
15 ---
16 name:            shrink_kimm32_cmp_eq_u32
17 tracksRegLiveness: true
18 body:             |
19   bb.0:
21     ; GCN-LABEL: name: shrink_kimm32_cmp_eq_u32
22     ; GCN: S_CMPK_EQ_I32 undef $sgpr0, -2048, implicit-def $scc
23     S_CMP_EQ_U32 undef $sgpr0, 4294965248, implicit-def $scc
24 ...
26 ---
27 name:            shrink_kimm32_cmp_gt_i32
28 tracksRegLiveness: true
29 body:             |
30   bb.0:
32     ; GCN-LABEL: name: shrink_kimm32_cmp_gt_i32
33     ; GCN: S_CMPK_GT_I32 undef $sgpr0, -2048, implicit-def $scc
34     S_CMP_GT_I32 undef $sgpr0, 4294965248, implicit-def $scc
35 ...
37 ---
38 name:            shrink_kimm32_add_i32
39 tracksRegLiveness: true
40 body:             |
41   bb.0:
43     ; GCN-LABEL: name: shrink_kimm32_add_i32
44     ; GCN: $sgpr0 = S_ADDK_I32 undef $sgpr0, -2048, implicit-def $scc
45     $sgpr0 = S_ADD_I32 undef $sgpr0, 4294965248, implicit-def $scc
46 ...
48 ---
49 name:            shrink_kimm32_mul_i32
50 tracksRegLiveness: true
51 body:             |
52   bb.0:
54     ; GCN-LABEL: name: shrink_kimm32_mul_i32
55     ; GCN: $sgpr0 = S_MULK_I32 undef $sgpr0, -2048
56     $sgpr0 = S_MUL_I32 undef $sgpr0, 4294965248
57 ...