commit | ce5734ee7c8102a075929615ba4419e207e74684 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri May 23 21:40:55 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri May 23 21:40:55 2008 +0000 |
tree | 53c3066b3c679cf8a228d335f176e2bed1bcb34e | |
parent | aa69cee27bf4c8fb4ac7cf5b64f71a03fc811c4a [diff] [blame] |
Don't silently truncate array extents to 32 bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51505 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Assembler/huge-array.ll b/test/Assembler/huge-array.ll new file mode 100644 index 0000000..e080947 --- /dev/null +++ b/test/Assembler/huge-array.ll
@@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llvm-dis | grep 18446744073709551615 | count 2 + +define [18446744073709551615 x i8]* @foo() { + ret [18446744073709551615 x i8]* null +}