summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/emutls1.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-08-01 22:20:49 +0000
committerMatthias Braun <matze@braunis.de>2017-08-01 22:20:49 +0000
commitfe7581c1d145c95b9cb76e865044b3c29590b854 (patch)
tree64b91b0591dd49798af95720046ef3961281d9cd /test/CodeGen/ARM/emutls1.ll
parentb0a0439255aa030543bd90b7f7f560a29c9e9485 (diff)
ARM: Do not use llc -march in tests.
`llc -march` is problematic because it only switches the target architecture, but leaves the operating system unchanged. This occasionally leads to indeterministic tests because the OS from LLVM_DEFAULT_TARGET_TRIPLE is used. However we can simply always use `llc -mtriple` instead. This changes all the tests to do this to avoid people using -march when they copy and paste parts of tests. See also the discussion in https://reviews.llvm.org/D35287 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/emutls1.ll')
-rw-r--r--test/CodeGen/ARM/emutls1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/emutls1.ll b/test/CodeGen/ARM/emutls1.ll
index d4ba7eced66..18d32646e15 100644
--- a/test/CodeGen/ARM/emutls1.ll
+++ b/test/CodeGen/ARM/emutls1.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -emulated-tls -march=arm -mtriple=arm-linux-androideabi \
+; RUN: llc < %s -emulated-tls -mtriple=arm-linux-androideabi \
; RUN: | FileCheck %s
-; RUN: llc < %s -emulated-tls -march=arm -mtriple=arm-linux-androideabi \
+; RUN: llc < %s -emulated-tls -mtriple=arm-linux-androideabi \
; RUN: -relocation-model=pic | FileCheck %s --check-prefix=PIC
; Compared with tls1.ll, emulated mode should not use __aeabi_read_tp or __tls_get_addr.