diff options
author | Derek Schuff <dschuff@google.com> | 2013-05-14 16:26:38 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2013-05-14 16:26:38 +0000 |
commit | ed788b62830c26bd1f5d23d73a6337c88b66ab61 (patch) | |
tree | 6c3d5ba1af380c2add0fe390c47ccf3ea90b83b2 /test/CodeGen/Thumb2 | |
parent | ded53bf4dd499f213334400fa870d0c7896d1d0d (diff) | |
download | external_llvm-ed788b62830c26bd1f5d23d73a6337c88b66ab61.zip external_llvm-ed788b62830c26bd1f5d23d73a6337c88b66ab61.tar.gz external_llvm-ed788b62830c26bd1f5d23d73a6337c88b66ab61.tar.bz2 |
Fix ARM FastISel tests, as a first step to enabling ARM FastISel
ARM FastISel is currently only enabled for iOS non-Thumb1, and I'm working on
enabling it for other targets. As a first step I've fixed some of the tests.
Changes to ARM FastISel tests:
- Different triples don't generate the same relocations (especially
movw/movt versus constant pool loads). Use a regex to allow either.
- Mangling is different. Use a regex to allow either.
- The reserved registers are sometimes different, so registers get
allocated in a different order. Capture the names only where this
occurs.
- Add -verify-machineinstrs to some tests where it works. It doesn't
work everywhere it should yet.
- Add -fast-isel-abort to many tests that didn't have it before.
- Split out the VarArg test from fast-isel-call.ll into its own
test. This simplifies test setup because of --check-prefix.
Patch by JF Bastien
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r-- | test/CodeGen/Thumb2/large-call.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/large-call.ll b/test/CodeGen/Thumb2/large-call.ll index 61c477a..1b4d462 100644 --- a/test/CodeGen/Thumb2/large-call.ll +++ b/test/CodeGen/Thumb2/large-call.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -O0 -mcpu=cortex-a8 | FileCheck %s +; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mcpu=cortex-a8 | FileCheck %s target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32" target triple = "thumbv7-apple-ios0.0.0" |