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

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 14:59:58 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:

I don't think "word" is the right word here ) Machine word on riscv64 is 64 bits. How about `ZExt16` and `ZExt32` instead?

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


More information about the llvm-commits mailing list