aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ldr_frame.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
commite3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch)
treeccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/CodeGen/ARM/ldr_frame.ll
parent950bf6030101d670ea205efd307ea5d3b375544d (diff)
downloadexternal_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.zip
external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz
external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/ldr_frame.ll')
-rw-r--r--test/CodeGen/ARM/ldr_frame.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/ldr_frame.ll b/test/CodeGen/ARM/ldr_frame.ll
index 23407c0..3db9d79 100644
--- a/test/CodeGen/ARM/ldr_frame.ll
+++ b/test/CodeGen/ARM/ldr_frame.ll
@@ -3,14 +3,14 @@
; RUN: llvm-as < %s | llc -march=arm -enable-thumb &&
; RUN: llvm-as < %s | llc -march=arm -enable-thumb | grep cpy | wc -l | grep 2
-define i32 %f1() {
+define i32 @f1() {
%buf = alloca [32 x i32], align 4
%tmp = getelementptr [32 x i32]* %buf, i32 0, i32 0
%tmp1 = load i32* %tmp
ret i32 %tmp1
}
-define i32 %f2() {
+define i32 @f2() {
%buf = alloca [32 x i8], align 4
%tmp = getelementptr [32 x i8]* %buf, i32 0, i32 0
%tmp1 = load i8* %tmp
@@ -18,14 +18,14 @@ define i32 %f2() {
ret i32 %tmp2
}
-define i32 %f3() {
+define i32 @f3() {
%buf = alloca [32 x i32], align 4
%tmp = getelementptr [32 x i32]* %buf, i32 0, i32 32
%tmp1 = load i32* %tmp
ret i32 %tmp1
}
-define i32 %f4() {
+define i32 @f4() {
%buf = alloca [32 x i8], align 4
%tmp = getelementptr [32 x i8]* %buf, i32 0, i32 2
%tmp1 = load i8* %tmp