You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
342 B
16 lines
342 B
; RUN: opt < %s -inline -function-attrs -reassociate -S | FileCheck %s
|
|
|
|
; CHECK-LABEL: main
|
|
; CHECK-NEXT: ret void
|
|
|
|
define internal i16 @func1() noinline #0 {
|
|
ret i16 0
|
|
}
|
|
|
|
define void @main(i16 %argc, i16** %argv) #0 {
|
|
%_tmp0 = call i16 @func1()
|
|
%_tmp2 = zext i16 %_tmp0 to i32
|
|
ret void
|
|
}
|
|
attributes #0 = { minsize nounwind optsize }
|