diff options
| author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2017-04-14 11:52:26 +0000 |
|---|---|---|
| committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2017-04-14 11:52:26 +0000 |
| commit | 5714860ee4a62726e086acedd7cc236b41bdce52 (patch) | |
| tree | 62a4257a3473db39e66a157eb385bbd44bba5b1f /llvm/test/MC/AMDGPU/sop2-err.s | |
| parent | 1022112d770f49b3697d2b7267f5f9915409de41 (diff) | |
| download | bcm5719-llvm-5714860ee4a62726e086acedd7cc236b41bdce52.tar.gz bcm5719-llvm-5714860ee4a62726e086acedd7cc236b41bdce52.zip | |
[AMDGPU][MC] Enabled constants for src operands of s_cbranch_g_fork
Fixed bug 32619: https://bugs.llvm.org//show_bug.cgi?id=32619
Reviewers: artem.tamazov, vpykhtin
Differential Revision: https://reviews.llvm.org/D31973
llvm-svn: 300318
Diffstat (limited to 'llvm/test/MC/AMDGPU/sop2-err.s')
| -rw-r--r-- | llvm/test/MC/AMDGPU/sop2-err.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/AMDGPU/sop2-err.s b/llvm/test/MC/AMDGPU/sop2-err.s new file mode 100644 index 00000000000..5115489a7f2 --- /dev/null +++ b/llvm/test/MC/AMDGPU/sop2-err.s @@ -0,0 +1,7 @@ +// RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN %s + +s_cbranch_g_fork 100, s[6:7] +// GCN: error: invalid operand for instruction + +s_cbranch_g_fork s[6:7], 100 +// GCN: error: invalid operand for instruction |

