LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 48241 - [AMDGPU][MC][GFX10] Too generic error message for missing 'dim' operand
Summary: [AMDGPU][MC][GFX10] Too generic error message for missing 'dim' operand
Status: NEW
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: AMDGPU (show other bugs)
Version: trunk
Hardware: PC All
: P enhancement
Assignee: Dmitry Preobrazhensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-20 03:16 PST by Dmitry Preobrazhensky
Modified: 2020-11-20 03:16 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Preobrazhensky 2020-11-20 03:16:21 PST
GFX10 requires that all MIMG instructions specify a dim operand. However when the operand is missing assembler does not report the issue but says that "operands are not valid for this GPU or mode". This should be corrected.

AN example:

    image_load v[0:3], v0, s[0:7] dmask:0xf unorm

    error: operands are not valid for this GPU or mode