diff options
Diffstat (limited to 'test/CodeGen/X86/sink-out-of-loop.ll')
-rw-r--r-- | test/CodeGen/X86/sink-out-of-loop.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/sink-out-of-loop.ll b/test/CodeGen/X86/sink-out-of-loop.ll index 6757f31..4bf829a 100644 --- a/test/CodeGen/X86/sink-out-of-loop.ll +++ b/test/CodeGen/X86/sink-out-of-loop.ll @@ -61,7 +61,7 @@ entry: loop: %i = phi i32 [ 0, %entry ], [ %i2, %loop ] %j = mul i32 %i, %i - %addr = getelementptr i32* %output, i32 %i + %addr = getelementptr i32, i32* %output, i32 %i store i32 %i, i32* %addr %i2 = add i32 %i, 1 %exit_cond = icmp sge i32 %i2, %n |