diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/mcm-7.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/mcm-7.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/mcm-7.ll b/llvm/test/CodeGen/PowerPC/mcm-7.ll index 7caa13bcdcf..9c8158df77b 100644 --- a/llvm/test/CodeGen/PowerPC/mcm-7.ll +++ b/llvm/test/CodeGen/PowerPC/mcm-7.ll @@ -11,7 +11,7 @@ define i8* @test_fnaddr() nounwind { entry: %func = alloca i32 (i32)*, align 8 store i32 (i32)* @foo, i32 (i32)** %func, align 8 - %0 = load i32 (i32)** %func, align 8 + %0 = load i32 (i32)*, i32 (i32)** %func, align 8 %1 = bitcast i32 (i32)* %0 to i8* ret i8* %1 } |