[all-commits] [llvm/llvm-project] 73925b: [TableGen] Use PointerUnion for Operator and Val i...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Apr 16 20:19:21 PDT 2023


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

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

  Log Message:
  -----------
  [TableGen] Use PointerUnion for Operator and Val in TreePatternNode.

These fields are never set at the same time so we can store them
using a single PointerUnion.




More information about the All-commits mailing list