aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2017-08-28 20:20:47 +0000
committerJoerg Sonnenberger <joerg@bec.de>2017-08-28 20:20:47 +0000
commit0f76a35c5e3c2585179e7787f046519ce241129d (patch)
treee8faed7d7869a610bf019e83d3b4e26976e9b6cb /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parentee8ad1c0ff7a09af01554c3e98fb2af1ee3e5f17 (diff)
downloadllvm-0f76a35c5e3c2585179e7787f046519ce241129d.zip
llvm-0f76a35c5e3c2585179e7787f046519ce241129d.tar.gz
llvm-0f76a35c5e3c2585179e7787f046519ce241129d.tar.bz2
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions