[all-commits] [llvm/llvm-project] c446f2: [TableGen] Call std::vector::reserve to preallocat...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Apr 18 00:32:24 PDT 2023


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

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

  Log Message:
  -----------
  [TableGen] Call std::vector::reserve to preallocate memory before a loop of push_back. NFC




More information about the All-commits mailing list