llvm-project/llvm/lib/Target/ARM/MCTargetDesc
Joerg Sonnenberger 0f76a35c5e Fix ARMv4 support
ARMv4 doesn't support the "BX" instruction, which has been introduced
with ARMv4t. Adjust the call lowering and tail call implementation
accordingly.

Further changes are necessary to ensure that presence of the v4t feature
is correctly set. Most importantly, the "generic" CPU for thumb-*
triples should include ARMv4t, since thumb mode without thumb support
would naturally be pointless.

Add a couple of asserts to ensure thumb instructions are not emitted
without CPU support.

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

llvm-svn: 311921
2017-08-28 20:20:47 +00:00
..
ARMAddressingModes.h
ARMAsmBackend.cpp [TargetParser] Use enum classes for various ARM kind enums. 2017-07-27 16:27:56 +00:00
ARMAsmBackend.h Fully fix the movw/movt addend. 2017-07-11 23:18:25 +00:00
ARMAsmBackendDarwin.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
ARMAsmBackendELF.h
ARMAsmBackendWinCOFF.h
ARMBaseInfo.h [ARM] Tidy-up condition-code support functions 2017-08-27 20:38:28 +00:00
ARMELFObjectWriter.cpp Simplify. NFC. 2017-07-26 17:27:27 +00:00
ARMELFStreamer.cpp [TargetParser] Use enum classes for various ARM kind enums. 2017-07-27 16:27:56 +00:00
ARMFixupKinds.h Don't repeat names and reformat. NFC. 2017-06-28 16:00:16 +00:00
ARMMCAsmInfo.cpp Remove Bitrig: LLVM Changes 2017-07-21 22:48:47 +00:00
ARMMCAsmInfo.h
ARMMCCodeEmitter.cpp [ARM] Support fixup for Thumb2 modified immediate 2017-06-05 09:37:12 +00:00
ARMMCExpr.cpp
ARMMCExpr.h
ARMMCTargetDesc.cpp Fix ARMv4 support 2017-08-28 20:20:47 +00:00
ARMMCTargetDesc.h Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
ARMMachORelocationInfo.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
ARMMachObjectWriter.cpp ARM: use internal relocations for local symbols after all. 2017-08-23 22:07:10 +00:00
ARMTargetStreamer.cpp [TargetParser] Use enum classes for various ARM kind enums. 2017-07-27 16:27:56 +00:00
ARMUnwindOpAsm.cpp [ARM] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-31 00:56:17 +00:00
ARMUnwindOpAsm.h [ARM] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-31 00:56:17 +00:00
ARMWinCOFFObjectWriter.cpp COFF: Produce an error on invalid pcrel relocs. 2017-06-23 04:07:44 +00:00
ARMWinCOFFStreamer.cpp
CMakeLists.txt
LLVMBuild.txt