diff options
Diffstat (limited to 'test/CodeGen/X86/codegen-prepare.ll')
-rw-r--r-- | test/CodeGen/X86/codegen-prepare.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/X86/codegen-prepare.ll b/test/CodeGen/X86/codegen-prepare.ll index 4ff0f1c..e58bc22 100644 --- a/test/CodeGen/X86/codegen-prepare.ll +++ b/test/CodeGen/X86/codegen-prepare.ll @@ -19,16 +19,16 @@ define linkonce_odr void @foo(%class.A* nocapture %this, i32 %BoolValue) nounwind uwtable { entry: %cmp = icmp eq i32 %BoolValue, 0 - %address1 = getelementptr inbounds %class.A* %this, i64 0, i32 0, i32 3 - %address2 = getelementptr inbounds %class.A* %this, i64 0, i32 0, i32 1 + %address1 = getelementptr inbounds %class.A, %class.A* %this, i64 0, i32 0, i32 3 + %address2 = getelementptr inbounds %class.A, %class.A* %this, i64 0, i32 0, i32 1 br i1 %cmp, label %if.else, label %if.then if.then: ; preds = %entry - %0 = getelementptr inbounds %class.D* %address2, i64 0, i32 0, i64 0, i32 0 - %1 = load float* %0, align 4 - %2 = getelementptr inbounds float* %0, i64 3 - %3 = load float* %2, align 4 - %4 = getelementptr inbounds %class.D* %address1, i64 0, i32 0, i64 0, i32 0 + %0 = getelementptr inbounds %class.D, %class.D* %address2, i64 0, i32 0, i64 0, i32 0 + %1 = load float, float* %0, align 4 + %2 = getelementptr inbounds float, float* %0, i64 3 + %3 = load float, float* %2, align 4 + %4 = getelementptr inbounds %class.D, %class.D* %address1, i64 0, i32 0, i64 0, i32 0 store float %1, float* %4, align 4 br label %if.end |