[all-commits] [llvm/llvm-project] ad6fe3: [LoongArch] Support 'generic' as a valid CPU name
WÁNG Xuěruì via All-commits
all-commits at lists.llvm.org
Sun Sep 25 19:21:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad6fe32032a6229e0c40510e9bed419a01c695b3
https://github.com/llvm/llvm-project/commit/ad6fe32032a6229e0c40510e9bed419a01c695b3
Author: WANG Xuerui <git at xen0n.name>
Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArch.td
M llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
A llvm/test/CodeGen/LoongArch/cpu-name-generic.ll
Log Message:
-----------
[LoongArch] Support 'generic' as a valid CPU name
As the LoongArch port is largely modeled after RISCV it has the same
behavior of not accepting `generic` as a CPU name. For better
compatibility with consumers of LLVM (e.g. mesa) follow D121149's suit
and treat `generic` the same as an empty CPU name.
Differential Revision: https://reviews.llvm.org/D134412
More information about the All-commits
mailing list