OSDN Git Service

[ARM] Allow execute only code on Cortex-m23
authorDavid Spickett <david.spickett@arm.com>
Fri, 28 Sep 2018 08:55:19 +0000 (08:55 +0000)
committerDavid Spickett <david.spickett@arm.com>
Fri, 28 Sep 2018 08:55:19 +0000 (08:55 +0000)
commitc2c10245561d59b6394adc8dd27fbcb02a0d7f8f
treeb28da90d941070601c5b4f3481ea515a6bcdcead
parentb785fa54a163fa75493eb8dab5b9245daf0c92b8
[ARM] Allow execute only code on Cortex-m23

The NoMovt feature prevents the use of MOVW/MOVT
instructions on Cortex-M23 for performance reasons.
These instructions are required for execute only code
so NoMovt should be disabled when that option is enabled.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
test/CodeGen/ARM/execute-only-big-stack-frame.ll
test/CodeGen/ARM/execute-only-section.ll
test/CodeGen/ARM/execute-only.ll