[llvm-bugs] [Bug 47519] New: [AMDGPU][MC] Lack of tests for checking error position
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 14 04:42:58 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47519
Bug ID: 47519
Summary: [AMDGPU][MC] Lack of tests for checking error position
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
AMDGPU target currently has no tests to check error position visually. Some
tests do record error position in numeric form but this representation does not
allow to visually check if the position is correct or not.
An example of an existing check:
exp mrt0 s0, v0, v0, v0
// GCN: 10: error: invalid operand for instruction
I believe there should be a set of tests to check error position visually, for
example:
exp mrt0 s0, v0, v0, v0
// GCN: error: invalid operand for instruction
// GCN-NEXT:{{^}}exp mrt0 s0, v0, v0, v0
// GCN-NEXT:{{^}} ^
--
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/20200914/5f8979a8/attachment.html>
More information about the llvm-bugs
mailing list