llvm-6502/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
Evan Cheng ccc4870d63 Add test case from PR940.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30852 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-10 04:33:46 +00:00

11 lines
246 B
LLVM

; 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
}