diff options
Diffstat (limited to 'test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll')
-rw-r--r-- | test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll b/test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll index aea53b3..f38ebf1 100644 --- a/test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll +++ b/test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll @@ -11,8 +11,8 @@ entry: call void @bar([39 x i8]* %stack_main) %tmp6 = add i64 %a, -2147483647 %.sum = add i64 %tmp6, %b - %tmp8 = getelementptr inbounds [39 x i8]* %stack_main, i64 0, i64 %.sum - %tmp9 = load i8* %tmp8, align 1 + %tmp8 = getelementptr inbounds [39 x i8], [39 x i8]* %stack_main, i64 0, i64 %.sum + %tmp9 = load i8, i8* %tmp8, align 1 %tmp10 = sext i8 %tmp9 to i32 ret i32 %tmp10 } |