[llvm] [MC] Replace fragment ilist with singly-linked lists (PR #95077)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 23:39:03 PDT 2024
================
@@ -831,6 +831,20 @@ void MCAssembler::layout(MCAsmLayout &Layout) {
MCSection *Sec = Layout.getSectionOrder()[i];
Sec->setLayoutOrder(i);
+ // Chain together fragments from all subsections.
----------------
MaskRay wrote:
Since this is not in a bottleneck, I'll keep simple and avoid the condition.
https://github.com/llvm/llvm-project/pull/95077
More information about the llvm-commits
mailing list