[all-commits] [llvm/llvm-project] 1f90af: [TableGen] Do not speculatively grow RegUnitSets. ...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Feb 13 08:10:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f90af183d7a007584fac041eaca9f126a1a942f
      https://github.com/llvm/llvm-project/commit/1f90af183d7a007584fac041eaca9f126a1a942f
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

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

  Log Message:
  -----------
  [TableGen] Do not speculatively grow RegUnitSets. NFC.

This seems to be a trick to avoid copying a RegUnitSet, but it can be
done more simply using std::move.




More information about the All-commits mailing list