diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
| commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
| tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/PowerPC/dyn-alloca-aligned.ll | |
| parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/PowerPC/dyn-alloca-aligned.ll')
| -rw-r--r-- | test/CodeGen/PowerPC/dyn-alloca-aligned.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/dyn-alloca-aligned.ll b/test/CodeGen/PowerPC/dyn-alloca-aligned.ll index a5d45b8e94a0..98b0a175f369 100644 --- a/test/CodeGen/PowerPC/dyn-alloca-aligned.ll +++ b/test/CodeGen/PowerPC/dyn-alloca-aligned.ll @@ -11,12 +11,12 @@ entry: %0 = zext i32 %n to i64 %vla = alloca i32, i64 %0, align 128 %vla1 = alloca i32, i64 %0, align 128 - %a2 = getelementptr inbounds %struct.s* %a, i64 0, i32 0 - %1 = load i32* %a2, align 4 + %a2 = getelementptr inbounds %struct.s, %struct.s* %a, i64 0, i32 0 + %1 = load i32, i32* %a2, align 4 store i32 %1, i32* %vla1, align 128 - %b = getelementptr inbounds %struct.s* %a, i64 0, i32 1 - %2 = load i32* %b, align 4 - %arrayidx3 = getelementptr inbounds i32* %vla1, i64 1 + %b = getelementptr inbounds %struct.s, %struct.s* %a, i64 0, i32 1 + %2 = load i32, i32* %b, align 4 + %arrayidx3 = getelementptr inbounds i32, i32* %vla1, i64 1 store i32 %2, i32* %arrayidx3, align 4 call void @bar(i32* %vla1, i32* %vla) #0 ret void |
