[all-commits] [llvm/llvm-project] e052c6: [SelectionDAG] Add instantiated OPC_CheckType (#73...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e052c688690f1eac5a6ca294a687f52a7e1305cc
      https://github.com/llvm/llvm-project/commit/e052c688690f1eac5a6ca294a687f52a7e1305cc
  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/dag-isel-complexpattern.td
    M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp

  Log Message:
  -----------
  [SelectionDAG] Add instantiated OPC_CheckType (#73283)

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

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




More information about the All-commits mailing list