Fix a README item: have functionattrs look through selects and
[oota-llvm.git] / test / Transforms / ScalarRepl / 2006-04-20-PromoteCrash.ll
1 ; RUN: opt < %s -scalarrepl -disable-output
2
3 define void @output_toc() {
4 entry:
5         %buf = alloca [256 x i8], align 16              ; <[256 x i8]*> [#uses=1]
6         %name = alloca i8*, align 4             ; <i8**> [#uses=1]
7         %real_name = alloca i8*, align 4                ; <i8**> [#uses=0]
8         %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
9         %buf.upgrd.1 = bitcast [256 x i8]* %buf to i8*          ; <i8*> [#uses=1]
10         store i8* %buf.upgrd.1, i8** %name
11         call void @abort( )
12         unreachable
13 return:         ; No predecessors!
14         ret void
15 }
16
17 declare void @abort()
18