summaryrefslogtreecommitdiff
path: root/test/Assembler/2002-10-08-LargeArrayPerformance.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2002-10-08-LargeArrayPerformance.ll')
-rw-r--r--test/Assembler/2002-10-08-LargeArrayPerformance.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/2002-10-08-LargeArrayPerformance.ll b/test/Assembler/2002-10-08-LargeArrayPerformance.ll
new file mode 100644
index 0000000000000..2c4cba412b1ee
--- /dev/null
+++ b/test/Assembler/2002-10-08-LargeArrayPerformance.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as %s -o /dev/null -f
+; This testcase comes from the following really simple c file:
+;; int foo[30000]
+;;; We should not be soo slow for such a simple case!
+
+@foo = global [30000 x i32] zeroinitializer ; <[30000 x i32]*> [#uses=0]
+
+declare void @__main()