-; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output
+; RUN: opt < %s -inline -disable-output
-implementation ; Functions:
-
-int %reload() {
+define i32 @reload() {
reloadentry:
- br label %A
-A:
- call void %callee( )
- ret int 0
+ br label %A
+
+A: ; preds = %reloadentry
+ call void @callee( )
+ ret i32 0
}
-internal void %callee() {
+define internal void @callee() {
entry:
- %X = alloca sbyte, uint 0
- %Y = cast int 0 to uint
- %Z = alloca sbyte, uint %Y
- ret void
+ %X = alloca i8, i32 0 ; <i8*> [#uses=0]
+ %Y = bitcast i32 0 to i32 ; <i32> [#uses=1]
+ %Z = alloca i8, i32 %Y ; <i8*> [#uses=0]
+ ret void
}
+