[all-commits] [llvm/llvm-project] 52220c: [AMDGPU][AsmParser][NFC] Remove a misleading comme...

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Fri Aug 9 08:52:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52220c295a2d8552aa085624059decbb93093dff
      https://github.com/llvm/llvm-project/commit/52220c295a2d8552aa085624059decbb93093dff
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp

  Log Message:
  -----------
  [AMDGPU][AsmParser][NFC] Remove a misleading comment. (#102604)

The work of ParseRegularReg() should remain to be parsing the register
as it was specified, and not to try translate it to anything else.

It's up to operand predicates to decide on what is and is not an
acceptable register for an operand, including considering its expected
register class, and for the rest of the AsmParser infrastructure to
handle it respectively from there on.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list