[all-commits] [llvm/llvm-project] 6111f5: [SelectionDAG] Add instantiated OPC_CheckChildType...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6111f5c5925cb40357e2a972ebae4294731c307f
      https://github.com/llvm/llvm-project/commit/6111f5c5925cb40357e2a972ebae4294731c307f
  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/utils/TableGen/DAGISelMatcherEmitter.cpp

  Log Message:
  -----------
  [SelectionDAG] Add instantiated OPC_CheckChildType (#73297)


The most common type is i32 or i64 so we add `OPC_CheckChildTypeI32`
and `OPC_CheckChildTypeI64` to save one byte.

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




More information about the All-commits mailing list