diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/win32_sret.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/win32_sret.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/win32_sret.ll b/llvm/test/CodeGen/X86/win32_sret.ll index 0b10a671b8b..ca01d3b4331 100644 --- a/llvm/test/CodeGen/X86/win32_sret.ll +++ b/llvm/test/CodeGen/X86/win32_sret.ll @@ -106,7 +106,7 @@ define x86_thiscallcc void @"\01?foo@C5@@QAE?AUS5@@XZ"(%struct.S5* noalias sret entry: %this.addr = alloca %class.C5*, align 4 store %class.C5* %this, %class.C5** %this.addr, align 4 - %this1 = load %class.C5** %this.addr + %this1 = load %class.C5*, %class.C5** %this.addr %x = getelementptr inbounds %struct.S5, %struct.S5* %agg.result, i32 0, i32 0 store i32 42, i32* %x, align 4 ret void @@ -211,7 +211,7 @@ define void @test7_f(%struct.test7* %x) nounwind { define x86_thiscallcc void @test7_g(%struct.test7* %in, %struct.test7* sret %out) { %s = getelementptr %struct.test7, %struct.test7* %in, i32 0, i32 0 %d = getelementptr %struct.test7, %struct.test7* %out, i32 0, i32 0 - %v = load i32* %s + %v = load i32, i32* %s store i32 %v, i32* %d call void @clobber_eax() ret void |