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

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 23:27:54 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">;
+
----------------
wangpc-pp wrote:

I stand for names `zexth` and `zextw`,  as @topperc said, they are the names for equivalent existed instructions. I think people may be much more familiar with these. WDYT?

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


More information about the llvm-commits mailing list