blob: 2b01b475fc7552f46a006df60e2fba6d90ce7c29 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -loopsimplify
2
3implementation
4
5; This function should get a preheader inserted before BB3, that is jumped
6; to by BB1 & BB2
7;
8void "test"()
9begin
10 br bool true, label %BB1, label %BB2
11BB1: br label %BB3
12BB2: br label %BB3
13
14
15BB3:
16 br label %BB3
17end