aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/prefetch.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-11-03 06:34:55 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-11-03 06:34:55 +0000
commitdfed19fe2c34c1209108afa58e8ab014ffd894e2 (patch)
tree5f1825a4f721f61f4bd5908abe7ea515a08da5dc /test/CodeGen/ARM/prefetch.ll
parentbc7deb0f758d2544fc4c36433668340cbf4835cf (diff)
downloadexternal_llvm-dfed19fe2c34c1209108afa58e8ab014ffd894e2.zip
external_llvm-dfed19fe2c34c1209108afa58e8ab014ffd894e2.tar.gz
external_llvm-dfed19fe2c34c1209108afa58e8ab014ffd894e2.tar.bz2
Fix preload instruction isel. Only v7 supports pli, and only v7 with mp extension supports pldw. Add subtarget attribute to denote mp extension support and legalize illegal ones to nothing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/prefetch.ll')
-rw-r--r--test/CodeGen/ARM/prefetch.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/prefetch.ll b/test/CodeGen/ARM/prefetch.ll
index dbc1002..1e4ff30 100644
--- a/test/CodeGen/ARM/prefetch.ll
+++ b/test/CodeGen/ARM/prefetch.ll
@@ -1,6 +1,6 @@
; RUN: llc < %s -march=thumb -mattr=-thumb2 | not grep pld
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s -check-prefix=THUMB2
-; RUN: llc < %s -march=arm -mattr=+v5te | FileCheck %s -check-prefix=ARM
+; RUN: llc < %s -march=thumb -mattr=+v7a,+mp | FileCheck %s -check-prefix=THUMB2
+; RUN: llc < %s -march=arm -mattr=+v7a,+mp | FileCheck %s -check-prefix=ARM
; rdar://8601536
define void @t1(i8* %ptr) nounwind {