[all-commits] [llvm/llvm-project] 3d90e1: [TableGen] Integrate TableGen-based macro fusion (...
Wang Pengcheng via All-commits
all-commits at lists.llvm.org
Fri Jan 19 02:08:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d90e1fa94d17c3b27c89731760f28791bb30943
https://github.com/llvm/llvm-project/commit/3d90e1fa94d17c3b27c89731760f28791bb30943
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
M llvm/include/llvm/Target/Target.td
M llvm/include/llvm/Target/TargetSchedule.td
M llvm/test/TableGen/MacroFusion.td
M llvm/utils/TableGen/CodeGenTarget.cpp
M llvm/utils/TableGen/CodeGenTarget.h
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Integrate TableGen-based macro fusion (#73115)
`Fusion` is inherited from `SubtargetFeature` now. Each definition
of `Fusion` will define a `SubtargetFeature` accordingly.
Method `getMacroFusions` is added to `TargetSubtargetInfo`, which
returns a list of `MacroFusionPredTy` that will be evaluated by
MacroFusionMution.
`getMacroFusions` will be auto-generated if the target has `Fusion`
definitions.
More information about the All-commits
mailing list