[llvm] [RISCV] Macro-fusion support for veyron-v1 CPU. (PR #70012)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 13:44:21 PDT 2023


================
@@ -937,6 +937,16 @@ def TuneLUIADDIFusion
     : SubtargetFeature<"lui-addi-fusion", "HasLUIADDIFusion",
                        "true", "Enable LUI+ADDI macrofusion">;
 
+def TuneAUIPCADDIFusion
+    : SubtargetFeature<"auipc-addi-fusion", "HasAUIPCADDIFusion",
+                       "true", "Enable AUIPC+ADDI macrofusion">;
+def TuneSLLISRLIFusion
----------------
topperc wrote:

This is pretty generic name given the specific cases that are recognized for fusion.

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


More information about the llvm-commits mailing list