| # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs -o - %s | FileCheck %s | |
| # This test checks for the correctness of the MIR parser for lanemask | |
| # CHECK-LABEL: name: test_lanemask_operand | |
| # CHECK: COPY_LANEMASK $vgpr0, lanemask(0x0000000000000002) | |
| --- | |
| name: test_lanemask_operand | |
| tracksRegLiveness: true | |
| body: | | |
| bb.0: | |
| liveins: $vgpr0 | |
| $vgpr1 = COPY_LANEMASK $vgpr0, lanemask(2) | |
| S_ENDPGM 0 | |
| ... | |