[llvm] [TableGen] Integrate TableGen-based macro fusion (PR #73115)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 03:03:48 PST 2024
================
@@ -149,6 +151,10 @@ class CodeGenTarget {
const CodeGenHwModes &getHwModes() const { return CGH; }
+ bool hasMacroFusion() const { return !MacroFusions.empty(); }
----------------
wangpc-pp wrote:
This is to simplify `getMacroFusions().empty()`.
https://github.com/llvm/llvm-project/pull/73115
More information about the llvm-commits
mailing list