[all-commits] [llvm/llvm-project] f40482: [RISCV] Don't allow '-' after 'ra' in Zcmp/Xqccmp ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 2 21:51:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4048268427f7a5dab4dea9b2d0fd908b8660644
      https://github.com/llvm/llvm-project/commit/f4048268427f7a5dab4dea9b2d0fd908b8660644
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/test/MC/RISCV/rv64zcmp-invalid.s

  Log Message:
  -----------
  [RISCV] Don't allow '-' after 'ra' in Zcmp/Xqccmp register list. (#134182)

Move the parsing of '-' under the check that we parsed a comma.
Unfortunately, this leads to a poor error, but I still have more known
issues in this code and may end up with an overall restructuring and
want to think about wording.



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