[llvm] [RISCV] Split TuneShiftedZExtFusion (PR #76032)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 15:45:02 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">;
+
----------------
topperc wrote:
zextw and zexth are consistent with the names of the instructions that were added in Zba and Zbb to replace these shift patterns. But I don't have a strong preference.
https://github.com/llvm/llvm-project/pull/76032
More information about the llvm-commits
mailing list