[all-commits] [llvm/llvm-project] c24fdc: [TableGen] Fix error message that called Record::g...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 6 20:40:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c24fdc1834aea1f836fa15148ba0663a4de33337
      https://github.com/llvm/llvm-project/commit/c24fdc1834aea1f836fa15148ba0663a4de33337
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M llvm/lib/TableGen/Record.cpp

  Log Message:
  -----------
  [TableGen] Fix error message that called Record::getName on a possibly anonymous record.

Record::getName only works for named records. Use getNameInitAsString
to handle anonymous records without crashing.


  Commit: 90f6a4cc73d5c40add913e6ed5d34a7a9db58c79
      https://github.com/llvm/llvm-project/commit/90f6a4cc73d5c40add913e6ed5d34a7a9db58c79
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M clang/test/Driver/riscv-arch.c
    M llvm/lib/Support/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Make D extension imply F extension.

I believe this implies relationship is documented in the current
spec but may have been less clear in an older spec.

We used to report an error so I think it should be ok to change this.
Only someone expecting the error should be impacted.

Reviewed By: asb, luismarques

Differential Revision: https://reviews.llvm.org/D145125


Compare: https://github.com/llvm/llvm-project/compare/6b3b2625851b...90f6a4cc73d5


More information about the All-commits mailing list