; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | not grep 'load int\* null'

implementation

internal int %callee(bool %C, int* %P) {
	br bool %C, label %T, label %F
T:
	ret int 17
F:
	%X = load int* %P
	ret int %X
}

int %foo() {
	%X = call int %callee(bool true, int* null)
	ret int %X
}


Add a testcase for a function we cannot legally promote the argument of.
Add a testcase for a function we cannot legally promote the argument of.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@17716 91177308-0d34-0410-b5e6-96231b3b80d8
