[PATCH] D140693: [Driver][RISCV] Adjust the priority between -mcpu, -mtune and -march

Kito Cheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 30 00:05:29 PST 2022


kito-cheng updated this revision to Diff 485674.
kito-cheng added a comment.

Changes:

- Stop calling getRISCVTargetCPU in getCPUName.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140693/new/

https://reviews.llvm.org/D140693

Files:
  clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  clang/lib/Driver/ToolChains/Arch/RISCV.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/riscv-cpus.c
  clang/test/Driver/riscv-march-mcpu-mtune.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140693.485674.patch
Type: text/x-patch
Size: 15814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221230/429700ee/attachment-0001.bin>


More information about the cfe-commits mailing list