[all-commits] [llvm/llvm-project] 69721a: [TableGen] Report a better error when an InstAlias...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Dec 5 09:23:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69721ac37c0c741337f65c9d451a1c4d41e83114
      https://github.com/llvm/llvm-project/commit/69721ac37c0c741337f65c9d451a1c4d41e83114
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M llvm/utils/TableGen/Common/CodeGenInstAlias.cpp

  Log Message:
  -----------
  [TableGen] Report a better error when an InstAlias does not use a RegClass

Also fix the missing space in the error message. I notice while changing
RISC-V's loads and stores to use RegClassByHwMode and got a non-descriptive
error from `T.getRegisterClass(OpRC)` when parsing the InstAliases.

Reviewed By: arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/168444



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