summaryrefslogtreecommitdiff
path: root/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
commitd31a672c097295eb9d0c4c89a6049f70f64be97c (patch)
tree6ba2f59c9a0c6c59a5035ae3b1fc0ab5eedf4b13 /test/Integer
parente67c1aa3986cf98f2021a31a6ad502857c757b7b (diff)
downloadllvm-d31a672c097295eb9d0c4c89a6049f70f64be97c.tar.gz
llvm-d31a672c097295eb9d0c4c89a6049f70f64be97c.tar.bz2
llvm-d31a672c097295eb9d0c4c89a6049f70f64be97c.tar.xz
alignment of 0 is not valid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer')
-rw-r--r--test/Integer/alignment_bt.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Integer/alignment_bt.ll b/test/Integer/alignment_bt.ll
index 635cb1f6b3..3a9d0511d7 100644
--- a/test/Integer/alignment_bt.ll
+++ b/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
}