Skip to content

Commit d6bd4ea

Browse files
Revert "[RISCV] Add sifive-x280 processor with all of its extensions"
This commit causes tests to fail. This reverts commit 55e196e.
1 parent b33b000 commit d6bd4ea

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

clang/test/Driver/riscv-cpus.c

-14
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,6 @@
167167
// MTUNE-E31-MCPU-E76-SAME: "-target-feature" "+zicsr" "-target-feature" "+zifencei"
168168
// MTUNE-E31-MCPU-E76-SAME: "-tune-cpu" "sifive-e76"
169169

170-
// mcpu with default march include experimental extensions
171-
// RUN: %clang -target riscv64 -### -c %s 2>&1 -menable-experimental-extensions -mcpu=sifive-x280 | FileCheck -check-prefix=MCPU-SIFIVE-X280 %s
172-
// MCPU-SIFIVE-X280: "-nostdsysteminc" "-target-cpu" "sifive-x280"
173-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+f" "-target-feature" "+d"
174-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+c" "-target-feature" "+v"
175-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zicsr" "-target-feature" "+zifencei"
176-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zfh"
177-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zba" "-target-feature" "+zbb"
178-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+experimental-zvfh"
179-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zvl128b"
180-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zvl256b" "-target-feature" "+zvl32b"
181-
// MCPU-SIFIVE-X280-SAME: "-target-feature" "+zvl512b" "-target-feature" "+zvl64b"
182-
// MCPU-SIFIVE-X280-SAME: "-target-abi" "lp64d"
183-
184170
// Check failed cases
185171

186172
// RUN: %clang --target=riscv32 -### -c %s 2>&1 -mcpu=generic-rv321 | FileCheck -check-prefix=FAIL-MCPU-NAME %s

llvm/docs/ReleaseNotes.rst

-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ Changes to the RISC-V Backend
175175
``RISCV::parseCPU``. The ``CPUKind`` enum is no longer part of the
176176
RISCVTargetParser.h interface. Similar for ``parseTuneCPUkind`` and
177177
``checkTuneCPUKind``.
178-
* Add sifive-x280 processor.
179178

180179
Changes to the WebAssembly Backend
181180
----------------------------------

llvm/lib/Target/RISCV/RISCVProcessors.td

-16
Original file line numberDiff line numberDiff line change
@@ -166,22 +166,6 @@ def SIFIVE_U74 : RISCVProcessorModel<"sifive-u74",
166166
FeatureStdExtC],
167167
[TuneSiFive7]>;
168168

169-
def SIFIVE_X280 : RISCVProcessorModel<"sifive-x280", SiFive7Model,
170-
[Feature64Bit,
171-
FeatureStdExtZifencei,
172-
FeatureStdExtM,
173-
FeatureStdExtA,
174-
FeatureStdExtF,
175-
FeatureStdExtD,
176-
FeatureStdExtC,
177-
FeatureStdExtV,
178-
FeatureStdExtZvl512b,
179-
FeatureStdExtZfh,
180-
FeatureStdExtZvfh,
181-
FeatureStdExtZba,
182-
FeatureStdExtZbb],
183-
[TuneSiFive7]>;
184-
185169
def SYNTACORE_SCR1_BASE : RISCVProcessorModel<"syntacore-scr1-base",
186170
SyntacoreSCR1Model,
187171
[Feature32Bit,

0 commit comments

Comments
 (0)