summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/memfunc.ll
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-24 15:52:21 -0800
committerFangrui Song <maskray@google.com>2019-12-24 15:57:33 -0800
commit502a77f125f43ffde57af34d3fd1b900248a91cd (patch)
tree7419d0e805ddb78f17bccc1b3e1b8aaddaa779b9 /llvm/test/CodeGen/ARM/memfunc.ll
parent3732f4e093f9aed7aad9740e460e00a248f28572 (diff)
downloadbcm5719-llvm-502a77f125f43ffde57af34d3fd1b900248a91cd.tar.gz
bcm5719-llvm-502a77f125f43ffde57af34d3fd1b900248a91cd.zip
Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351
Diffstat (limited to 'llvm/test/CodeGen/ARM/memfunc.ll')
-rw-r--r--llvm/test/CodeGen/ARM/memfunc.ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/ARM/memfunc.ll b/llvm/test/CodeGen/ARM/memfunc.ll
index 6c0668a53e8..0fe1f630c57 100644
--- a/llvm/test/CodeGen/ARM/memfunc.ll
+++ b/llvm/test/CodeGen/ARM/memfunc.ll
@@ -8,7 +8,7 @@
; RUN: llc < %s -mtriple=arm-none-musleabi -disable-post-ra -o - | FileCheck %s --check-prefix=CHECK-GNUEABI --check-prefix=CHECK
; RUN: llc < %s -mtriple=arm-none-musleabihf -disable-post-ra -o - | FileCheck %s --check-prefix=CHECK-GNUEABI --check-prefix=CHECK
-define void @f1(i8* %dest, i8* %src) "no-frame-pointer-elim"="true" {
+define void @f1(i8* %dest, i8* %src) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f1
@@ -98,7 +98,7 @@ entry:
}
; Check that alloca arguments to memory intrinsics are automatically aligned if at least 8 bytes in size
-define void @f2(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f2(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f2
@@ -144,7 +144,7 @@ entry:
}
; Check that alloca arguments are not aligned if less than 8 bytes in size
-define void @f3(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f3(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f3
@@ -183,7 +183,7 @@ entry:
}
; Check that alloca arguments are not aligned if size+offset is less than 8 bytes
-define void @f4(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f4(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f4
@@ -222,7 +222,7 @@ entry:
}
; Check that alloca arguments are not aligned if the offset is not a multiple of 4
-define void @f5(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f5(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f5
@@ -261,7 +261,7 @@ entry:
}
; Check that alloca arguments are not aligned if the offset is unknown
-define void @f6(i8* %dest, i32 %n, i32 %i) "no-frame-pointer-elim"="true" {
+define void @f6(i8* %dest, i32 %n, i32 %i) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f6
@@ -300,7 +300,7 @@ entry:
}
; Check that alloca arguments are not aligned if the GEP is not inbounds
-define void @f7(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f7(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f7
@@ -339,7 +339,7 @@ entry:
}
; Check that alloca arguments are not aligned when the offset is past the end of the allocation
-define void @f8(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f8(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
; CHECK-LABEL: f8
@@ -389,7 +389,7 @@ entry:
@arr8 = internal global [128 x i8] undef
@arr9 = weak_odr global [128 x i8] undef
@arr10 = dso_local global [8 x i8] c"\01\02\03\04\05\06\07\08", align 1
-define void @f9(i8* %dest, i32 %n) "no-frame-pointer-elim"="true" {
+define void @f9(i8* %dest, i32 %n) "frame-pointer"="all" {
entry:
call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @arr1, i32 0, i32 0), i32 %n, i1 false)
call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @arr2, i32 0, i32 0), i32 %n, i1 false)
OpenPOWER on IntegriCloud