1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=gfx1010 -run-pass=si-optimize-exec-masking -verify-machineinstrs %s -o - | FileCheck %s
5 name: lower_term_opcodes
6 tracksRegLiveness: false
8 ; CHECK-LABEL: name: lower_term_opcodes
10 ; CHECK: successors: %bb.1(0x80000000)
11 ; CHECK: $sgpr0 = COPY $sgpr1
13 ; CHECK: successors: %bb.2(0x80000000)
14 ; CHECK: $sgpr0 = S_MOV_B32 0
16 ; CHECK: successors: %bb.3(0x80000000)
17 ; CHECK: $sgpr0 = S_MOV_B32 &SYMBOL
19 ; CHECK: successors: %bb.4(0x80000000)
20 ; CHECK: $sgpr0_sgpr1 = COPY $sgpr2_sgpr3
22 ; CHECK: successors: %bb.5(0x80000000)
23 ; CHECK: $sgpr0_sgpr1 = S_MOV_B64 0
25 ; CHECK: successors: %bb.6(0x80000000)
26 ; CHECK: $sgpr0_sgpr1 = S_MOV_B64 &SYMBOL
28 ; CHECK: successors: %bb.7(0x80000000)
29 ; CHECK: $sgpr0 = S_XOR_B32 $sgpr1, $sgpr2, implicit-def $scc
31 ; CHECK: successors: %bb.8(0x80000000)
32 ; CHECK: $sgpr0_sgpr1 = S_XOR_B64 $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc
34 ; CHECK: successors: %bb.9(0x80000000)
35 ; CHECK: $sgpr0 = S_OR_B32 $sgpr1, $sgpr2, implicit-def $scc
37 ; CHECK: successors: %bb.10(0x80000000)
38 ; CHECK: $sgpr0_sgpr1 = S_OR_B64 $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc
40 ; CHECK: successors: %bb.11(0x80000000)
41 ; CHECK: $sgpr0 = S_ANDN2_B32 $sgpr1, $sgpr2, implicit-def $scc
43 ; CHECK: $sgpr0_sgpr1 = S_ANDN2_B64 $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc
45 $sgpr0 = S_MOV_B32_term $sgpr1
48 $sgpr0 = S_MOV_B32_term 0
51 $sgpr0 = S_MOV_B32_term &SYMBOL
54 $sgpr0_sgpr1 = S_MOV_B64_term $sgpr2_sgpr3
57 $sgpr0_sgpr1 = S_MOV_B64_term 0
60 $sgpr0_sgpr1 = S_MOV_B64_term &SYMBOL
63 $sgpr0 = S_XOR_B32_term $sgpr1, $sgpr2, implicit-def $scc
66 $sgpr0_sgpr1 = S_XOR_B64_term $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc
69 $sgpr0 = S_OR_B32_term $sgpr1, $sgpr2, implicit-def $scc
72 $sgpr0_sgpr1 = S_OR_B64_term $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc
75 $sgpr0 = S_ANDN2_B32_term $sgpr1, $sgpr2, implicit-def $scc
78 $sgpr0_sgpr1 = S_ANDN2_B64_term $sgpr2_sgpr3, $sgpr2_sgpr3, implicit-def $scc