summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/Hexagon/parse-lane-masks.mir
blob: 7f6f3469478b4899cb290d28fcacd20f255ae6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# RUN: llc -march=hexagon -run-pass none -o - %s | FileCheck %s
# Check that the MIR parser can parse lane masks in block liveins.

# CHECK-LABEL: name: foo
# CHECK: bb.0:
# CHECK: liveins: %d0:0x00000002, %d1, %d2:0x00000010

--- |
  define void @foo() {
    ret void
  }
...

---
name: foo
tracksRegLiveness: true

body: |
  bb.0:
    liveins: %d0:0x00002, %d1, %d2:16
    A2_nop
...

OpenPOWER on IntegriCloud