aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/addr-label-difference.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/addr-label-difference.ll')
-rw-r--r--test/CodeGen/X86/addr-label-difference.ll10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/CodeGen/X86/addr-label-difference.ll b/test/CodeGen/X86/addr-label-difference.ll
index 547d6b57657a..be0908aa1a9d 100644
--- a/test/CodeGen/X86/addr-label-difference.ll
+++ b/test/CodeGen/X86/addr-label-difference.ll
@@ -9,14 +9,18 @@ target triple = "i386-apple-darwin10.0"
define void @test(i32 %i) nounwind ssp {
entry:
+ call void @test(i32 1)
br label %foo
-foo: ; preds = %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto, %indirectgoto
+foo:
+ call void @test(i32 1)
br label %bar
-bar: ; preds = %foo, %indirectgoto
+bar:
+ call void @test(i32 1)
br label %hack
-hack: ; preds = %bar, %indirectgoto
+hack:
+ call void @test(i32 1)
ret void
}