add another testcase to make sure it gets turned into a switch (answer: yes it does)

llvm-svn: 20291
This commit is contained in:
Chris Lattner
2005-02-24 02:13:50 +00:00
parent 27cf4eb1c7
commit 272f3527a3

View File

@@ -31,3 +31,18 @@ F:
}
void %test3(int %V) {
%C1 = seteq int %V, 4
br bool %C1, label %T, label %N
N:
%C2 = seteq int %V, 17
br bool %C2, label %T, label %F
T:
call void %foo1()
ret void
F:
call void %foo2()
ret void
}