1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/X86/AlignedBundling
Peter Smith 7d816e3012 [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup
On targets like Arm some relaxations may only be performed when certain
architectural features are available. As functions can be compiled with
differing levels of architectural support we must make a judgement on
whether we can relax based on the MCSubtargetInfo for the function. This
change passes through the MCSubtargetInfo for the function to
fixupNeedsRelaxation so that the decision on whether to relax can be made
per function. In this patch, only the ARM backend makes use of this
information. We must also pass the MCSubtargetInfo to applyFixup because
some fixups skip error checking on the assumption that relaxation has
occurred, to prevent code-generation errors applyFixup must see the same
MCSubtargetInfo as fixupNeedsRelaxation.

Differential Revision: https://reviews.llvm.org/D44928

llvm-svn: 334078
2018-06-06 09:40:06 +00:00
..
align-mode-argument-error.s
asm-printing-bundle-directives.s
autogen-inst-offset-align-to-end.s
autogen-inst-offset-padding.s
bundle-group-too-large-error.s
bundle-lock-option-error.s
bundle-subtarget-change-error.s [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
different-sections.s
labeloffset.s
lit.local.cfg
lock-without-bundle-mode-error.s
long-nop-pad.s
misaligned-bundle-group.s
misaligned-bundle.s
nesting.s
pad-align-to-bundle-end.s
pad-bundle-groups.s
relax-at-bundle-end.s
relax-in-bundle-group.s
rodata-section.s
section-alignment.s
single-inst-bundling.s
switch-section-locked-error.s
unlock-without-lock-error.s