[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / AMDGPU / si-lower-sgpr-spills.mir
blob5a022efb38a35bd71926a40607f937bdca874eda
1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
3 # CHECK-LABEL: name: empty_entry_block
4 # CHECK: V_WRITELANE
5 # CHECK-NEXT: V_WRITELANE
6 # CHECK-NEXT: V_WRITELANE
7 # CHECK-NEXT: V_WRITELANE
8 # CHECK: V_READLANE
9 # CHECK-NEXT: V_READLANE
10 # CHECK-NEXT: V_READLANE
11 # CHECK-NEXT: V_READLANE
12 ---
13 name:            empty_entry_block
14 body: |
15   bb.0:
17   bb.1:
18     renamable $sgpr36_sgpr37 = S_XOR_B64 renamable $vcc, -1, implicit-def dead $scc
19     $sgpr34_sgpr35 = S_AND_SAVEEXEC_B64 $sgpr36_sgpr37, implicit-def $exec, implicit-def $scc, implicit $exec
20     S_ENDPGM 0