Skip to content

Commit 90f816e

Browse files
committed
[RISCV] Rename TuneVeyronFusions to TuneVentanaVeyron
And fusion features are added to processor definition.
1 parent f25bcfb commit 90f816e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,12 +1001,8 @@ def TuneSiFive7 : SubtargetFeature<"sifive7", "RISCVProcFamily", "SiFive7",
10011001
[TuneNoDefaultUnroll,
10021002
TuneShortForwardBranchOpt]>;
10031003

1004-
def TuneVeyronFusions : SubtargetFeature<"ventana-veyron", "RISCVProcFamily", "VentanaVeyron",
1005-
"Ventana Veyron-Series processors",
1006-
[TuneLUIADDIFusion,
1007-
TuneAUIPCADDIFusion,
1008-
TuneShiftedZExtFusion,
1009-
TuneLDADDFusion]>;
1004+
def TuneVentanaVeyron : SubtargetFeature<"ventana-veyron", "RISCVProcFamily", "VentanaVeyron",
1005+
"Ventana Veyron-Series processors">;
10101006

10111007
// Assume that lock-free native-width atomics are available, even if the target
10121008
// and operating system combination would not usually provide them. The user

llvm/lib/Target/RISCV/RISCVProcessors.td

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,11 @@ def VENTANA_VEYRON_V1 : RISCVProcessorModel<"veyron-v1",
273273
FeatureStdExtZicbop,
274274
FeatureStdExtZicboz,
275275
FeatureVendorXVentanaCondOps],
276-
[TuneVeyronFusions]>;
276+
[TuneVentanaVeyron,
277+
TuneLUIADDIFusion,
278+
TuneAUIPCADDIFusion,
279+
TuneShiftedZExtFusion,
280+
TuneLDADDFusion]>;
277281

278282
def XIANGSHAN_NANHU : RISCVProcessorModel<"xiangshan-nanhu",
279283
NoSchedModel,

0 commit comments

Comments
 (0)