OSDN Git Service

ARM: Do not use llc -march in tests.
authorMatthias Braun <matze@braunis.de>
Tue, 1 Aug 2017 22:20:49 +0000 (22:20 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 1 Aug 2017 22:20:49 +0000 (22:20 +0000)
commitfe7581c1d145c95b9cb76e865044b3c29590b854
tree64b91b0591dd49798af95720046ef3961281d9cd
parentb0a0439255aa030543bd90b7f7f560a29c9e9485
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
61 files changed:
test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll
test/CodeGen/ARM/2007-03-30-RegScavengerAssert.ll
test/CodeGen/ARM/2007-04-02-RegScavengerAssert.ll
test/CodeGen/ARM/2007-05-09-tailmerge-2.ll
test/CodeGen/ARM/2007-05-14-RegScavengerAssert.ll
test/CodeGen/ARM/2007-05-22-tailmerge-3.ll
test/CodeGen/ARM/2009-02-16-SpillerBug.ll
test/CodeGen/ARM/2009-02-27-SpillerBug.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert2.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert3.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert4.ll
test/CodeGen/ARM/2009-06-30-RegScavengerAssert5.ll
test/CodeGen/ARM/2009-07-01-CommuteBug.ll
test/CodeGen/ARM/2009-08-02-RegScavengerAssert-Neon.ll
test/CodeGen/ARM/2009-08-21-PostRAKill.ll
test/CodeGen/ARM/2009-08-31-LSDA-Name.ll
test/CodeGen/ARM/2009-09-09-fpcmp-ole.ll
test/CodeGen/ARM/2010-05-14-IllegalType.ll
test/CodeGen/ARM/2010-06-21-nondarwin-tc.ll
test/CodeGen/ARM/2011-09-19-cpsr.ll
test/CodeGen/ARM/2011-10-26-ExpandUnalignedLoadCrash.ll
test/CodeGen/ARM/2011-10-26-memset-inline.ll
test/CodeGen/ARM/2012-03-05-FPSCR-bug.ll
test/CodeGen/ARM/2012-08-13-bfi.ll
test/CodeGen/ARM/2012-08-27-CopyPhysRegCrash.ll
test/CodeGen/ARM/alloca.ll
test/CodeGen/ARM/arm-and-tst-peephole.ll
test/CodeGen/ARM/big-endian-neon-bitconv.ll
test/CodeGen/ARM/call_nolink.ll
test/CodeGen/ARM/cdp.ll
test/CodeGen/ARM/cdp2.ll
test/CodeGen/ARM/cse-libcalls.ll
test/CodeGen/ARM/deps-fix.ll
test/CodeGen/ARM/emutls1.ll
test/CodeGen/ARM/global-merge.ll
test/CodeGen/ARM/ifcvt-callback.ll
test/CodeGen/ARM/mult-alt-generic-arm.ll
test/CodeGen/ARM/peephole-bitcast.ll
test/CodeGen/ARM/saxpy10-a9.ll
test/CodeGen/ARM/ssp-data-layout.ll
test/CodeGen/ARM/subtarget-features-long-calls.ll
test/CodeGen/ARM/subtarget-no-movt.ll
test/CodeGen/ARM/thumb1-div.ll
test/CodeGen/ARM/tls-models.ll
test/CodeGen/ARM/tls1.ll
test/CodeGen/ARM/tls2.ll
test/CodeGen/ARM/unsafe-fsub.ll
test/CodeGen/ARM/vargs_align.ll
test/CodeGen/ARM/vcvt-cost.ll
test/CodeGen/ARM/vector-spilling.ll
test/CodeGen/ARM/vfloatintrinsics.ll
test/CodeGen/ARM/vldm-sched-a9.ll
test/CodeGen/ARM/vselect_imax.ll
test/CodeGen/ARM/zextload_demandedbits.ll
test/CodeGen/Thumb2/constant-islands.ll
test/CodeGen/Thumb2/cortex-fp.ll
test/CodeGen/Thumb2/intrinsics-coprocessor.ll
test/CodeGen/Thumb2/large-stack.ll
test/CodeGen/Thumb2/segmented-stacks.ll
test/CodeGen/Thumb2/thumb2-rev16.ll