[llvm-bugs] [Bug 48239] New: [AMDGPU][MC] Poor error messages for invalid literals
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 20 02:54:15 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48239
Bug ID: 48239
Summary: [AMDGPU][MC] Poor error messages for invalid literals
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at lists.llvm.org
Assembler reports an "invalid literal" in different cases: for instructions
which do not support literals and when more than one literal is specified. This
error message should be corrected to describe the issue more clearly.
These messages also do not show correct error position.
Examples:
// GFX10:
v_add_f64 v[0:1], 1.23456, -abs(1.2345)
error: invalid literal operand
v_add_f64 v[0:1], 1.23456, -abs(1.2345)
^
// GFX9
v_add_i16 v5, v1, 0.5
// error: invalid literal operand
v_add_i16 v5, v1, 0.5
^
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201120/1c1b354a/attachment.html>
More information about the llvm-bugs
mailing list