• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -march=hexagon -run-pass hexagon-gen-mux -o - %s -verify-machineinstrs | FileCheck %s
2# Make sure this verifies correctly.
3# CHECK: PS_jmpret killed $r31, implicit-def $pc
4---
5name: fred
6tracksRegLiveness: true
7
8body: |
9  bb.0:
10    liveins: $d0, $d1, $d2, $d3
11
12    $p0 = C2_cmpeqi killed $r4, 128
13    $d4 = A2_tfrpi 0
14    $r3 = A2_tfrsi 0
15    $r4 = A2_tfrsi 0
16    $r7 = A2_tfrt $p0, $r0
17    $p1 = C2_cmpeqp $d0, killed $d4
18    $r8 = A2_tfrt $p0, killed $r0
19    $r9 = A2_tfrt $p0, killed $r1
20    $r7 = A2_tfrf $p0, $r3, implicit killed $r7
21    $r9 = A2_tfrf $p0, killed $r3, implicit killed $r9
22    $r8 = C2_cmoveif killed $p0, 1, implicit killed $r8
23    $d0 = A4_combineri killed $r4, 0
24    $r2 = A2_tfrt $p1, killed $r7, implicit killed $r2
25    $r3 = A2_tfr killed $r9
26    $r2 = A2_tfrf killed $p1, killed $r8, implicit killed $r2
27    S2_storerd_io killed $r6, 0, killed $d1
28    S2_storerd_io killed $r5, 0, killed $d0
29    PS_jmpret $r31, implicit-def $pc
30...
31
32