summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/fast-isel-pred.ll
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2013-05-29 20:38:10 +0000
committerJF Bastien <jfb@google.com>2013-05-29 20:38:10 +0000
commitf567a6d39b05ebdcdb42b4183f6cfdada75ec189 (patch)
treeffa263d0bb0c5ee02e3547116ce5ff53b1d01431 /test/CodeGen/ARM/fast-isel-pred.ll
parentcc5a882c96af6e36bc029b7ff69f62f94e2d041d (diff)
downloadllvm-f567a6d39b05ebdcdb42b4183f6cfdada75ec189.tar.gz
llvm-f567a6d39b05ebdcdb42b4183f6cfdada75ec189.tar.bz2
llvm-f567a6d39b05ebdcdb42b4183f6cfdada75ec189.tar.xz
Enable FastISel on ARM for Linux and NaCl
FastISel was only enabled for iOS ARM and Thumb2, this patch enables it for ARM (not Thumb2) on Linux and NaCl. Thumb2 support needs a bit more work, mainly around register class restrictions. The patch punts to SelectionDAG when doing TLS relocation on non-Darwin targets. I will fix this and other FastISel-to-SelectionDAG failures in a separate patch. The patch also forces FastISel to retain frame pointers: iOS always keeps them for backtracking (so emitted code won't change because of this), but Linux was getting much worse code that was incorrect when using big frames (such as test-suite's lencod). I'll also fix this in a later patch, it will probably require a peephole so that FastISel doesn't rematerialize frame pointers back-to-back. The test changes are straightforward, similar to: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130513/174279.html They also add a vararg test that got dropped in that change. I ran all of test-suite on A15 hardware with --optimize-option=-O0 and all the tests pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fast-isel-pred.ll')
-rw-r--r--test/CodeGen/ARM/fast-isel-pred.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fast-isel-pred.ll b/test/CodeGen/ARM/fast-isel-pred.ll
index 27731def1f..48f93225b6 100644
--- a/test/CodeGen/ARM/fast-isel-pred.ll
+++ b/test/CodeGen/ARM/fast-isel-pred.ll
@@ -1,4 +1,5 @@
; RUN: llc -O0 -verify-machineinstrs -mtriple=armv7-apple-darwin < %s
+; RUN: llc -O0 -verify-machineinstrs -mtriple=armv7-linux-gnueabi < %s
define i32 @main() nounwind ssp {
entry: