[all-commits] [llvm/llvm-project] 9f66eb: MC: Eliminate redundant fragment relaxation
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Jul 5 18:55:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f66ebe427158a75a6392a94a66a0c50d21552bf
https://github.com/llvm/llvm-project/commit/9f66ebe427158a75a6392a94a66a0c50d21552bf
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-05 (Sat, 05 Jul 2025)
Changed paths:
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
MC: Eliminate redundant fragment relaxation
The relaxOnce function now returns the index of the last modified section,
allowing subsequent calls to skip already stable sections.
This optimization can often save redundant iteration for trailing
.debug_ sections, leading to minor instructions:u decrease.
https://llvm-compile-time-tracker.com/compare.php?from=aec88832df5e8c1dcbe259a6cb3d82d44b89ff23&to=8012fb16eff93cba48e5f08166762c5333bd1d42&stat=instructions:u
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