[all-commits] [llvm/llvm-project] 56277e: [TableGen] Make the map in InfoByHwMode protected....

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Feb 11 21:16:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56277e3e10d204e26e7884c4d978b82fd1620f02
      https://github.com/llvm/llvm-project/commit/56277e3e10d204e26e7884c4d978b82fd1620f02
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/utils/TableGen/CodeEmitterGen.cpp
    M llvm/utils/TableGen/CodeGenRegisters.cpp
    M llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
    M llvm/utils/TableGen/InfoByHwMode.h

  Log Message:
  -----------
  [TableGen] Make the map in InfoByHwMode protected. NFCI

Switch some for loops to just use the begin()/end() implementations
in the InfoByHwMode struct.

Add a method to insert into the map for the one case that was
modifying the map directly.




More information about the All-commits mailing list