[llvm] [TableGen] Integrate TableGen-based macro fusion (PR #73115)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 04:29:42 PST 2024


================
@@ -149,6 +151,10 @@ class CodeGenTarget {
 
   const CodeGenHwModes &getHwModes() const { return CGH; }
 
+  bool hasMacroFusion() const { return !MacroFusions.empty(); }
----------------
arsenm wrote:

There's no reason for it to be virtual then 

https://github.com/llvm/llvm-project/pull/73115


More information about the llvm-commits mailing list