[PATCH] D19924: Representing bundle locked groups as fragments in MCAssembler

Colin LeMahieu via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 11:48:07 PDT 2016


colinl removed rL LLVM as the repository for this revision.
colinl updated this revision to Diff 56604.
colinl added a comment.

I retained the behavior of oring AlignToEnd across nested bundles and added back in comments explaining how bundling works as well as breaking up the expression in the writeNopData function for better self-documentation.

Let me know if there are parts that were missed.

As far as memory usage testing, does anyone have a test they could run for this or have a recommended way of testing this?  I assume this could be tested by assembling some sort of large BC file with and without bundling.


http://reviews.llvm.org/D19924

Files:
  include/llvm/MC/MCAssembler.h
  include/llvm/MC/MCELFStreamer.h
  include/llvm/MC/MCFragment.h
  include/llvm/MC/MCObjectStreamer.h
  lib/MC/MCAssembler.cpp
  lib/MC/MCELFStreamer.cpp
  lib/MC/MCFragment.cpp
  lib/MC/MCObjectStreamer.cpp
  test/MC/X86/AlignedBundling/misaligned-bundle-group.s
  test/MC/X86/AlignedBundling/misaligned-bundle.s
  test/MC/X86/AlignedBundling/nesting.s
  test/MC/X86/AlignedBundling/relax-in-bundle-group.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19924.56604.patch
Type: text/x-patch
Size: 42465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160509/752bd1e4/attachment.bin>


More information about the llvm-commits mailing list