[all-commits] [llvm/llvm-project] 9348d4: [SelectionDAG] Add space-optimized forms of OPC_Em...
Wang Pengcheng via All-commits
all-commits at lists.llvm.org
Tue Dec 19 01:32:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9348d437f575c383bc810eeda6c6b40d58065fed
https://github.com/llvm/llvm-project/commit/9348d437f575c383bc810eeda6c6b40d58065fed
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2023-12-19 (Tue, 19 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 space-optimized forms of OPC_EmitRegister (#73291)
The followed byte of `OPC_EmitRegister` is a MVT type, which is
usually i32 or i64.
We add `OPC_EmitRegisterI32` and `OPC_EmitRegisterI64` so that we
can reduce one byte.
Overall this reduces the llc binary size with all in-tree targets by
about 10K.
More information about the All-commits
mailing list