[all-commits] [llvm/llvm-project] 021edd: [TableGen] Simplify CodeGenHwModes constructor. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 22 23:13:32 PDT 2023


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

  Changed paths:
    M llvm/utils/TableGen/CodeGenHwModes.cpp

  Log Message:
  -----------
  [TableGen] Simplify CodeGenHwModes constructor. NFC

Remove the loop that erases the DefaultMode from the Record vector.
Instead we can skip over in the loop that creates HwMode objects.




More information about the All-commits mailing list