Add test case from PR940.

llvm-svn: 30852
This commit is contained in:
Evan Cheng 2006-10-10 04:33:46 +00:00
parent b2998e15f2
commit 2fc9d4f580

View File

@ -0,0 +1,10 @@
; 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
}