summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/stack-size-section.ll30
1 files changed, 0 insertions, 30 deletions
diff --git a/llvm/test/CodeGen/X86/stack-size-section.ll b/llvm/test/CodeGen/X86/stack-size-section.ll
deleted file mode 100644
index 6950154a07e..00000000000
--- a/llvm/test/CodeGen/X86/stack-size-section.ll
+++ /dev/null
@@ -1,30 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-linux -stack-size-section | FileCheck %s
-
-; CHECK-LABEL: func1:
-; CHECK: .section .stack_sizes,"",@progbits
-; CHECK-NEXT: .quad func1
-; CHECK-NEXT: .byte 8
-define void @func1(i32, i32) #0 {
- alloca i32, align 4
- alloca i32, align 4
- ret void
-}
-
-; CHECK-LABEL: func2:
-; CHECK: .section .stack_sizes,"",@progbits
-; CHECK-NEXT: .quad func2
-; CHECK-NEXT: .byte 24
-define void @func2() #0 {
- alloca i32, align 4
- call void @func1(i32 1, i32 2)
- ret void
-}
-
-; CHECK-LABEL: dynalloc:
-; CHECK-NOT: .section .stack_sizes
-define void @dynalloc(i32 %N) #0 {
- alloca i32, i32 %N
- ret void
-}
-
-attributes #0 = { "no-frame-pointer-elim"="true" }
OpenPOWER on IntegriCloud