[all-commits] [llvm/llvm-project] 931418: [TableGen] Reimplement union_modes for InfoByHwMod...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Apr 8 12:57:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 931418667063743330f2c4195fd43ea64b0f8a12
      https://github.com/llvm/llvm-project/commit/931418667063743330f2c4195fd43ea64b0f8a12
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

  Changed paths:
    M llvm/utils/TableGen/InfoByHwMode.h

  Log Message:
  -----------
  [TableGen] Reimplement union_modes for InfoByHwMode to be avoid a secondary set.

Previously we collected both modes in a set and iterated over that set.

Instead, iterate over the two maps in parallel and detect the differences
as we go.




More information about the All-commits mailing list