[all-commits] [llvm/llvm-project] dc665f: [MC][LoongArch] Change default cpu in `MCSubtarget...
Zhaoxin Yang via All-commits
all-commits at lists.llvm.org
Mon Dec 2 00:33:39 PST 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: dc665fa5f5b8b572479ceac6bf32e0174de65f1e
https://github.com/llvm/llvm-project/commit/dc665fa5f5b8b572479ceac6bf32e0174de65f1e
Author: Zhaoxin Yang <yangzhaoxin at loongson.cn>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M lld/test/ELF/emulation-loongarch.s
M lld/test/ELF/loongarch-interlink.test
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.
(cherry picked from commit 75c2888209473884cb3fa5720899d8199dafb8cb)
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