[AMDGPU][MC] Enabled constants for src operands of s_cbranch_g_fork
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 14 Apr 2017 11:52:26 +0000 (11:52 +0000)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 14 Apr 2017 11:52:26 +0000 (11:52 +0000)
commit5714860ee4a62726e086acedd7cc236b41bdce52
tree62a4257a3473db39e66a157eb385bbd44bba5b1f
parent1022112d770f49b3697d2b7267f5f9915409de41
[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
llvm/lib/Target/AMDGPU/SOPInstructions.td
llvm/test/MC/AMDGPU/sop2-err.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/sop2.s