summaryrefslogtreecommitdiff
path: root/test/Assembler/2002-10-08-LargeArrayPerformance.ll
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-02 17:52:33 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-02 17:52:33 +0000
commit009b1c42aa6266385f2c37e227516b24077e6dd7 (patch)
tree64ba909838c23261cace781ece27d106134ea451 /test/Assembler/2002-10-08-LargeArrayPerformance.ll
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()