aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon/stack-alloca1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Hexagon/stack-alloca1.ll')
-rw-r--r--test/CodeGen/Hexagon/stack-alloca1.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/Hexagon/stack-alloca1.ll b/test/CodeGen/Hexagon/stack-alloca1.ll
deleted file mode 100644
index b38b8846d26f..000000000000
--- a/test/CodeGen/Hexagon/stack-alloca1.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llc -O0 -march=hexagon < %s | FileCheck %s
-; CHECK: sub(r29,r[[REG:[0-9]+]])
-; CHECK: r29 = r[[REG]]
-
-target triple = "hexagon-unknown-unknown"
-
-; Function Attrs: nounwind uwtable
-define void @foo(i32 %n) #0 {
-entry:
- %x = alloca i32, i32 %n
- %0 = bitcast i32* %x to i8*
- call void @bar(i8* %0)
- ret void
-}
-
-declare void @bar(i8*) #0
-
-attributes #0 = { nounwind }