[all-commits] [llvm/llvm-project] 0d5f1c: [SelectionDAG] Add space-optimized forms of OPC_Em...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Tue Dec 12 01:45:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d5f1cc4d0e339d433370b7658a065edb84daa01
      https://github.com/llvm/llvm-project/commit/0d5f1cc4d0e339d433370b7658a065edb84daa01
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/test/TableGen/DAGDefaultOps.td
    M llvm/test/TableGen/dag-isel-regclass-emit-enum.td
    M llvm/test/TableGen/dag-isel-res-order.td
    M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp

  Log Message:
  -----------
  [SelectionDAG] Add space-optimized forms of OPC_EmitNode/OPC_MorphNodeTo (#73502)

If there is only one bit set in EmitNodeInfo, then we can encode it
implicitly to save one byte.

Overall this reduces the llc binary size with all in-tree targets by
about 168K.




More information about the All-commits mailing list