[all-commits] [llvm/llvm-project] c96555: [LoongArch][MC] Pre-mark align fragments as linker...
wanglei via All-commits
all-commits at lists.llvm.org
Wed Aug 5 17:49:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9655589fe0be65f81f9b43ae3e7e59aff9d90e9
https://github.com/llvm/llvm-project/commit/c9655589fe0be65f81f9b43ae3e7e59aff9d90e9
Author: wanglei <wanglei at loongson.cn>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.h
Log Message:
-----------
[LoongArch][MC] Pre-mark align fragments as linker-relaxable (#213582)
Extract `shouldRelaxAlign` from `relaxAlign` and call it during
`emitCodeAlignment` to eagerly set the linker-relaxable flag on align
fragments. This ensures `isRangeRelaxable` returns correct results
before the layout phase.
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