[all-commits] [llvm/llvm-project] 75c288: [MC][LoongArch] Change default cpu in `MCSubtarget...
Zhaoxin Yang via All-commits
all-commits at lists.llvm.org
Mon Nov 11 00:46:44 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75c2888209473884cb3fa5720899d8199dafb8cb
https://github.com/llvm/llvm-project/commit/75c2888209473884cb3fa5720899d8199dafb8cb
Author: Zhaoxin Yang <yangzhaoxin at loongson.cn>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
M llvm/test/CodeGen/LoongArch/e_flags.ll
Log Message:
-----------
[MC][LoongArch] Change default cpu in `MCSubtargetInfo`. (#114922)
The default value of this CPU affects the `FeatureBits` obtained by
`LoongArchTargetELFStreamer` when creating an ELF file, and it will
further affect the `Flags` field in the generated file.
So, the default CPU value should be consistent with the
`initializeSubtargetDependencies` in `LoongArchSubtarget.cpp`.
Otherwise, the `Flags` field may be unexpected.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list