[X86] Not track size of the boudaryalign fragment during the layout
authorShengchen Kan <shengchen.kan@intel.com>
Sun, 1 Mar 2020 07:43:53 +0000 (15:43 +0800)
committerShengchen Kan <shengchen.kan@intel.com>
Mon, 2 Mar 2020 01:32:30 +0000 (09:32 +0800)
commit2ac19feb1571960b8e1479a451b45ab56da7034e
tree6d58c8295fc34cc138305fd3806e0b4b1da5714f
parentb6e2796114d08aadfabe8c889b5d96e6bc4f5e0e
[X86] Not track size of the boudaryalign fragment during the layout

Summary:
Currently the boundaryalign fragment caches its size during the process
of layout and then it is relaxed and update the size in each iteration. This
behaviour is unnecessary and ugly.

Reviewers: annita.zhang, reames, MaskRay, craig.topper, LuoYuanke, jyknight

Reviewed By: MaskRay

Subscribers: hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75404
llvm/include/llvm/MC/MCAssembler.h
llvm/include/llvm/MC/MCFragment.h
llvm/lib/MC/MCAssembler.cpp
llvm/lib/MC/MCFragment.cpp
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp