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

Colin LeMahieu via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 13:43:46 PDT 2016


colinl updated this revision to Diff 58831.
colinl added a comment.

Added more diff context.

With Hexagon there can be a penalty when jumping to an instruction that crosses an alignment boundary so especially for things like the top of a loop we don't want that instruction to cross that boundary.

I'm hoping to use instruction bundling to do this since it's the semantics we want but it also means we want bundling to be off usually and only on for specific instructions.


Repository:
  rL LLVM

http://reviews.llvm.org/D19924

Files:
  include/llvm/MC/MCAsmLayout.h
  include/llvm/MC/MCAssembler.h
  include/llvm/MC/MCELFStreamer.h
  include/llvm/MC/MCFragment.h
  include/llvm/MC/MCObjectStreamer.h
  include/llvm/MC/MCSection.h
  lib/MC/MCAssembler.cpp
  lib/MC/MCELFStreamer.cpp
  lib/MC/MCFragment.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCSection.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.58831.patch
Type: text/x-patch
Size: 50649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160527/c65e2cb4/attachment.bin>


More information about the llvm-commits mailing list