[PATCH][MC] If bundle alignment is enabled, do not add data to a fragment containing instructions
Derek Schuff
dschuff at google.com
Tue Feb 12 16:58:36 PST 2013
With bundle alignment, instructions all get their own MCFragments
(unless they are in a bundle-locked group). For instructions with
fixups, this is an MCDataFragment. Emitting actual data (e.g. for
.long) attempts to re-use MCDataFragments, which we don't want int
this case since it leads to fragments which exceed the bundle size.
So, don't reuse them in this case.
Also adds a test and fixes some formatting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datafrag.diff
Type: application/octet-stream
Size: 2533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130212/29a926ed/attachment.obj>
More information about the llvm-commits
mailing list