[all-commits] [llvm/llvm-project] 2e6c72: [TableGen] Move vectors into DAGInstruction instea...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Apr 10 00:18:25 PDT 2023


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

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

  Log Message:
  -----------
  [TableGen] Move vectors into DAGInstruction instead of copying them. NFC


  Commit: 551bfca86fca34ef34d4d6b32a741e8dfe00e74e
      https://github.com/llvm/llvm-project/commit/551bfca86fca34ef34d4d6b32a741e8dfe00e74e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

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

  Log Message:
  -----------
  [TableGen] Make TreePatternNode::InlinePatternFragments a static method. NFC

Previously we were passing 'this' and the std::shared_ptr version
of 'this'. This replaces all uses of 'this' with the shared_ptr and
makes the method static.


  Commit: 58dd265d25f0922a78d023472d820f3d2018e47d
      https://github.com/llvm/llvm-project/commit/58dd265d25f0922a78d023472d820f3d2018e47d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

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

  Log Message:
  -----------
  [TableGen] Pass size to std::vector constructor instead of using resize. NFC


Compare: https://github.com/llvm/llvm-project/compare/d0950d05a61a...58dd265d25f0


More information about the All-commits mailing list