[PATCH] D19924: Representing bundle locked groups as fragments in MCAssembler
Colin LeMahieu via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 16:29:07 PDT 2016
colinl set the repository for this revision to rL LLVM.
colinl updated this revision to Diff 58351.
colinl added a comment.
Running the memory tests pointed out poor usage due to having a bundle lock/unlock fragment for each instruction fragment.
I added a BundleLocked bit to MCFragment to represent a fragment being bundle locket to the next fragment. This means only 1 bit per fragment is needed instead of 2 objects.
I added a vector of bundle alignments to MCSection to represent bundle alignment changes throughout the section. Rather than storing the bundle alignment in each fragment we look up the bounding alignment in this vector.
I have a separate machine that runs the go file and gnuplot and I'll report the results for the redesign.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 50636 bytes
Desc: not available
More information about the llvm-commits