diff options
| author | Derek Schuff <dschuff@google.com> | 2013-02-15 22:50:52 +0000 |
|---|---|---|
| committer | Derek Schuff <dschuff@google.com> | 2013-02-15 22:50:52 +0000 |
| commit | 67144e37ba5cd35ee917daac631e03963b05a674 (patch) | |
| tree | 0c6baab3975cf0d06248d7eb46d7e4b931fe620c /lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 4788d14b484ba9e2fe19855fd6c97a3659980fca (diff) | |
If bundle alignment is enabled, do not add data to a fragment with instructions
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
