[llvm] [TableGen] Integrate TableGen-based macro fusion (PR #73115)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 05:02:53 PST 2024
================
@@ -149,6 +151,10 @@ class CodeGenTarget {
const CodeGenHwModes &getHwModes() const { return CGH; }
+ bool hasMacroFusion() const { return !MacroFusions.empty(); }
----------------
wangpc-pp wrote:
Sorry I don't get it. It's not a virtual function. You mean `TargetSubtargetInfo::getMacroFusions()`?
https://github.com/llvm/llvm-project/pull/73115
More information about the llvm-commits
mailing list