[PATCH] D142194: [AMDGPU][AsmParser] Fix matching immediate literals.

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 03:04:40 PST 2023


dp added a comment.

Does your patch fix this bug?

  s_load_dword s5, s[2:3], glc

Assembler should trigger an error for GFX7, but `glc` is misinterpreted as offset operand.
I think your patch should fix this bug, so you may add this code as a test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142194/new/

https://reviews.llvm.org/D142194



More information about the llvm-commits mailing list