1 ; RUN: opt < %s -argpromotion -S | \
2 ; RUN: not grep {load i32\* null}
4 define internal i32 @callee(i1 %C, i32* %P) {
5 br i1 %C, label %T, label %F
11 %X = load i32* %P ; <i32> [#uses=1]
16 %X = call i32 @callee( i1 true, i32* null ) ; <i32> [#uses=1]