[PATCH][MC] If bundle alignment is enabled, do not add data to a fragment containing instructions
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...
Size: 2533 bytes
Desc: not available
More information about the llvm-commits