llvm.org GIT mirror llvm / 1c81036
[AMDGPU] Assembler: fix row_bcast parsing Summary: This change fix bug 28538 Reviewers: tstellarAMD, vpykhtin Subscribers: arsenm, kzhuravl Differential Revision: https://reviews.llvm.org/D22355 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275422 91177308-0d34-0410-b5e6-96231b3b80d8 Sam Kolton 4 years ago
2 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
25532553 Int = 0x142;
25542554 } else if (Int == 31) {
25552555 Int = 0x143;
2556 } else {
2557 return MatchOperand_ParseFail;
25562558 }
25572559 } else {
25582560 return MatchOperand_ParseFail;
0 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOCIVI --check-prefix=NOVI
1 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOSI --check-prefix=NOSICI
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOSI --check-prefix=NOSICI
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=bonaire -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOSICI
4
5 // NOSICI: error:
6 // NOVI: error: failed parsing operand
7 v_mov_b32 v0, v0 row_bcast:0
8
9 // NOSICI: error:
10 // NOVI: error: failed parsing operand
11 v_mov_b32 v0, v0 row_bcast:13