summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/execute-only-section.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-07-01 02:55:22 +0000
committerEric Christopher <echristo@gmail.com>2017-07-01 02:55:22 +0000
commit015dc2094ef662bc7043a974b1f4738c89e8080e (patch)
tree01973674864bc32e03172edd09d9bde93a658f6d /llvm/test/CodeGen/ARM/execute-only-section.ll
parent96b416496839657a59ccad6ef15d7737ef7f2695 (diff)
downloadbcm5719-llvm-015dc2094ef662bc7043a974b1f4738c89e8080e.tar.gz
bcm5719-llvm-015dc2094ef662bc7043a974b1f4738c89e8080e.zip
Rewrite ARM execute only support to avoid the use of a command line flag and unqualified ARMSubtarget lookup.
Paired with a clang commit to use the new behavior. llvm-svn: 306927
Diffstat (limited to 'llvm/test/CodeGen/ARM/execute-only-section.ll')
-rw-r--r--llvm/test/CodeGen/ARM/execute-only-section.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/execute-only-section.ll b/llvm/test/CodeGen/ARM/execute-only-section.ll
index 6e1973cd0f1..a3313d8c2f7 100644
--- a/llvm/test/CodeGen/ARM/execute-only-section.ll
+++ b/llvm/test/CodeGen/ARM/execute-only-section.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -mtriple=thumbv7m -arm-execute-only %s -o - | FileCheck %s
-; RUN: llc < %s -mtriple=thumbv8m.base -arm-execute-only %s -o - | FileCheck %s
-; RUN: llc < %s -mtriple=thumbv8m.main -arm-execute-only %s -o - | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7m -mattr=+execute-only %s -o - | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv8m.base -mattr=+execute-only %s -o - | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv8m.main -mattr=+execute-only %s -o - | FileCheck %s
; CHECK: .section .text,"axy",%progbits,unique,0
; CHECK-NOT: .section
OpenPOWER on IntegriCloud