blob: 15402190d09d1d3819e3d007a427b646ee0bed5e [file] [log] [blame]
Chris Lattner0a4e4222002-09-26 19:50:11 +00001; RUN: as < %s | opt -preheaders
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