mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
7d816e3012
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
MipsABIFlagsSection.cpp | ||
MipsABIFlagsSection.h | ||
MipsABIInfo.cpp | ||
MipsABIInfo.h | ||
MipsAsmBackend.cpp | ||
MipsAsmBackend.h | ||
MipsBaseInfo.h | ||
MipsELFObjectWriter.cpp | ||
MipsELFStreamer.cpp | ||
MipsELFStreamer.h | ||
MipsFixupKinds.h | ||
MipsMCAsmInfo.cpp | ||
MipsMCAsmInfo.h | ||
MipsMCCodeEmitter.cpp | ||
MipsMCCodeEmitter.h | ||
MipsMCExpr.cpp | ||
MipsMCExpr.h | ||
MipsMCNaCl.h | ||
MipsMCTargetDesc.cpp | ||
MipsMCTargetDesc.h | ||
MipsNaClELFStreamer.cpp | ||
MipsOptionRecord.cpp | ||
MipsTargetStreamer.cpp |