[PATCH] D131635: [RISCV] Remove sifive-7-rv32/rv64 CPU names.

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 17:06:48 PDT 2022


craig.topper created this revision.
craig.topper added reviewers: kito-cheng, arcbbb, asb, luismarques.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: cfe-commits, pcwang-thead, eopXD, MaskRay.
Herald added projects: clang, LLVM.

These only exist to give -mtune=sifive-7-series something to
alias to. This aliasing made them valid -mcpu options, but they
aren't real product names and gcc doesn't support them with -mcpu.

Instead alias sifive-7-series to sifive-e76 and sifive-76.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131635

Files:
  clang/test/Driver/riscv-cpus.c
  clang/test/Misc/target-invalid-cpu-note.c
  llvm/include/llvm/Support/RISCVTargetParser.def
  llvm/lib/Target/RISCV/RISCV.td
  llvm/test/Transforms/LoopUnroll/RISCV/unroll.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131635.451688.patch
Type: text/x-patch
Size: 6952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220811/5b458782/attachment-0001.bin>


More information about the cfe-commits mailing list