1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/MIR/Hexagon/parse-lane-masks.mir
Stanislav Mekhanoshin a8e180d21c Extend LaneBitmask to 64 bit
This is needed for D74873, AMDGPU going to have 16 bit subregs
and the largest tuple is 32 VGPRs, which results in 64 lanes.

Differential Revision: https://reviews.llvm.org/D75378
2020-03-02 12:10:52 -08:00

24 lines
403 B
YAML

# 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:0x0000000000000002, $d1, $d2:0x0000000000000010
--- |
define void @foo() {
ret void
}
...
---
name: foo
tracksRegLiveness: true
body: |
bb.0:
liveins: $d0:0x00002, $d1, $d2:16
A2_nop
...