summaryrefslogtreecommitdiffstats
path: root/llvm/test/Integer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-05 08:14:35 +0000
committerChris Lattner <sabre@nondot.org>2009-01-05 08:14:35 +0000
commit4b6a0cce5e6f9a989f43ad4407cd98c01e89c335 (patch)
tree472f27d9bf68ced532eaaee90aacb403fca63586 /llvm/test/Integer
parentffa0778c36c633d1d8f152f59468397eab02fced (diff)
downloadbcm5719-llvm-4b6a0cce5e6f9a989f43ad4407cd98c01e89c335.tar.gz
bcm5719-llvm-4b6a0cce5e6f9a989f43ad4407cd98c01e89c335.zip
alignment of 0 is not valid.
llvm-svn: 61682
Diffstat (limited to 'llvm/test/Integer')
-rw-r--r--llvm/test/Integer/alignment_bt.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Integer/alignment_bt.ll b/llvm/test/Integer/alignment_bt.ll
index 635cb1f6b37..3a9d0511d7f 100644
--- a/llvm/test/Integer/alignment_bt.ll
+++ b/llvm/test/Integer/alignment_bt.ll
@@ -7,14 +7,14 @@
define i19 *@test() align 32 {
%X = alloca i19, align 4
%Y = alloca i51, i32 42, align 16
- %Z = alloca i32, align 0
+ %Z = alloca i32, align 1
ret i19 *%X
}
define i19 *@test2() {
%X = malloc i19, align 4
%Y = malloc i51, i32 42, align 16
- %Z = malloc i32, align 0
+ %Z = malloc i32, align 1
ret i19 *%X
}
OpenPOWER on IntegriCloud