diff options
Diffstat (limited to 'test/Transforms/GlobalOpt/heap-sra-3.ll')
-rw-r--r-- | test/Transforms/GlobalOpt/heap-sra-3.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/GlobalOpt/heap-sra-3.ll b/test/Transforms/GlobalOpt/heap-sra-3.ll index e7a877c..6a34364 100644 --- a/test/Transforms/GlobalOpt/heap-sra-3.ll +++ b/test/Transforms/GlobalOpt/heap-sra-3.ll @@ -20,14 +20,14 @@ declare noalias i8* @malloc(i64) define i32 @baz() nounwind readonly noinline { bb1.thread: - %0 = load %struct.foo** @X, align 4 + %0 = load %struct.foo*, %struct.foo** @X, align 4 br label %bb1 bb1: ; preds = %bb1, %bb1.thread %i.0.reg2mem.0 = phi i32 [ 0, %bb1.thread ], [ %indvar.next, %bb1 ] %sum.0.reg2mem.0 = phi i32 [ 0, %bb1.thread ], [ %3, %bb1 ] - %1 = getelementptr %struct.foo* %0, i32 %i.0.reg2mem.0, i32 0 - %2 = load i32* %1, align 4 + %1 = getelementptr %struct.foo, %struct.foo* %0, i32 %i.0.reg2mem.0, i32 0 + %2 = load i32, i32* %1, align 4 %3 = add i32 %2, %sum.0.reg2mem.0 %indvar.next = add i32 %i.0.reg2mem.0, 1 %exitcond = icmp eq i32 %indvar.next, 1200 |