https://llvm.org/bugs/show_bug.cgi?id=30827
Bug ID: 30827
Summary: [mc] No checks for immediate operands size
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
If immediate operand doesn't fit into instruction assembler just silently
truncates it. For example:
s_mulk_i32 s2, 0x8000 * 4
Assembler will produce following isa without any warning or error:
s_mulk_i32 s2, 0x0000 // 00000000077C: B7820000
We need to check such cases and show appropriate message (error).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs