summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/frameallocate.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/frameallocate.ll')
-rw-r--r--llvm/test/CodeGen/X86/frameallocate.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/frameallocate.ll b/llvm/test/CodeGen/X86/frameallocate.ll
index 7a2f9e3eb74..2172ac02420 100644
--- a/llvm/test/CodeGen/X86/frameallocate.ll
+++ b/llvm/test/CodeGen/X86/frameallocate.ll
@@ -10,7 +10,7 @@ declare i32 @printf(i8*, ...)
define void @print_framealloc_from_fp(i8* %fp) {
%alloc = call i8* @llvm.framerecover(i8* bitcast (void(i32*, i32*)* @alloc_func to i8*), i8* %fp)
%alloc_i32 = bitcast i8* %alloc to i32*
- %r = load i32* %alloc_i32
+ %r = load i32, i32* %alloc_i32
call i32 (i8*, ...)* @printf(i8* getelementptr ([10 x i8]* @str, i32 0, i32 0), i32 %r)
ret void
}
OpenPOWER on IntegriCloud