Patch by David Meyer to avoid a O(N^2) behaviour when relaxing fragments.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 07:39:29 +0000 (07:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 07:39:29 +0000 (07:39 +0000)
commitf9a447617329186976fe5ab8b48fe3c9c0698bc7
tree8865fd04a7018dd0c101d54457c23fb645166b26
parent9448184b99b2bbdb9a2107ef12bf4cbff86e684f
Patch by David Meyer to avoid a O(N^2) behaviour when relaxing fragments.

Since we now don't update addresses so early, we might relax a bit more than
we need to. This is simillar to the issue in PR8467.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121856 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAssembler.cpp
test/MC/MachO/relax-recompute-align.s