; RUN: llvm-as < %s | llc -march=x86

void %_ZN13QFSFileEngine4readEPcx() {
	%tmp201 = load int* null
	%tmp201 = cast int %tmp201 to long
	%tmp202 = load long* null
	%tmp203 = add long %tmp201, %tmp202
	store long %tmp203, long* null
	ret void
}

Add test case from PR940.
Add test case from PR940.


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