summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/execute-only.ll
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@arm.com>2018-09-28 08:55:19 +0000
committerDavid Spickett <david.spickett@arm.com>2018-09-28 08:55:19 +0000
commitea605913bed0eb9264c83fa8a91de064ffe8c74b (patch)
treeb45d4291e4acd5f98f8e31bda40ccbb568f01dd7 /llvm/test/CodeGen/ARM/execute-only.ll
parenta799fe40dcb45f9f67a02538b64a5a01f4c7ace2 (diff)
downloadbcm5719-llvm-ea605913bed0eb9264c83fa8a91de064ffe8c74b.tar.gz
bcm5719-llvm-ea605913bed0eb9264c83fa8a91de064ffe8c74b.zip
[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 llvm-svn: 343302
Diffstat (limited to 'llvm/test/CodeGen/ARM/execute-only.ll')
-rw-r--r--llvm/test/CodeGen/ARM/execute-only.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/execute-only.ll b/llvm/test/CodeGen/ARM/execute-only.ll
index 3f42ca3b5f4..169f44c7ffa 100644
--- a/llvm/test/CodeGen/ARM/execute-only.ll
+++ b/llvm/test/CodeGen/ARM/execute-only.ll
@@ -1,4 +1,5 @@
; RUN: llc -mtriple=thumbv8m.base-eabi -mattr=+execute-only %s -o - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-T2BASE %s
+; RUN: llc -mtriple=thumbv8m.base-eabi -mcpu=cortex-m23 -mattr=+execute-only %s -o - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-T2BASE %s
; RUN: llc -mtriple=thumbv7m-eabi -mattr=+execute-only %s -o - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-T2 %s
; RUN: llc -mtriple=thumbv8m.main-eabi -mattr=+execute-only %s -o - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-T2 %s
OpenPOWER on IntegriCloud