blob: 294140b02e7a887ddd3ff30dd1c27b90e429b3c4 [file] [log] [blame]
Misha Brukmane78760e2003-09-16 15:29:54 +00001; RUN: llvm-as < %s | opt -preheaders
Chris Lattner0a4e4222002-09-26 19:50:11 +00002
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