[llvm] [TableGen] Integrate TableGen-based macro fusion (PR #73115)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 01:12:47 PST 2024
================
@@ -323,6 +324,12 @@ class TargetSubtargetInfo : public MCSubtargetInfo {
/// helps removing redundant copies generated by register allocator when
/// handling complex eviction chains.
virtual bool enableSpillageCopyElimination() const { return false; }
+
+ /// Enable macro fusion for this subtarget.
+ virtual bool enableMacroFusion() const { return false; }
----------------
wangpc-pp wrote:
OK, I will remove `enableMacroFusion()`.
https://github.com/llvm/llvm-project/pull/73115
More information about the llvm-commits
mailing list