1 ; RUN: opt < %s -deadargelim -S > %t 2 ; RUN: cat %t | grep nounwind | count 2 3 ; RUN: cat %t | grep signext | count 2 4 ; RUN: cat %t | not grep inreg 5 ; RUN: cat %t | not grep zeroext 6 ; RUN: cat %t | not grep byval 7 8 %struct = type { } 9 10 @g = global i8 0 11 12 define internal zeroext i8 @foo(i8* inreg %p, i8 signext %y, ... ) nounwind { 13 store i8 %y, i8* @g 14 ret i8 0 15 } 16 17 define i32 @bar() { 18 %A = call zeroext i8(i8*, i8, ...)* @foo(i8* inreg null, i8 signext 1, %struct* byval null ) nounwind 19 ret i32 0 20 } 21