https://bugs.llvm.org/show_bug.cgi?id=40889
Bug ID: 40889
Summary: [AMDGPU][MC] DS offset0 modifier accepts 16-bit values
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedb...@nondot.org
Reporter: dpreobrazhen...@luxoft.com
CC: llvm-bugs@lists.llvm.org
Using this modifier with values which do not fit in 8 bits should trigger an
error. Currently any 16-bit values are accepted:
ds_write2_b32 v1, v2, v3 offset0:0xFFFF
This code is assembled without errors. The result is equivalent to the
following code:
ds_write2_b32 v1, v2, v3 offset0:0xFF
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs