[llvm] [RISCV] Split TuneShiftedZExtFusion (PR #76032)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 01:58:39 PST 2023


================
@@ -977,9 +977,19 @@ def TuneLUIADDIFusion
 def TuneAUIPCADDIFusion
     : SubtargetFeature<"auipc-addi-fusion", "HasAUIPCADDIFusion",
                        "true", "Enable AUIPC+ADDI macrofusion">;
-def TuneShiftedZExtFusion
-    : SubtargetFeature<"shifted-zext-fusion", "HasShiftedZExtFusion",
-                       "true", "Enable SLLI+SRLI to be fused when computing (shifted) zero extension">;
+
----------------
mgudim wrote:

Yes, sounds good to me. I didn't know about these.

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


More information about the llvm-commits mailing list