From: Evan Cheng Date: Tue, 10 Oct 2006 04:33:46 +0000 (+0000) Subject: Add test case from PR940. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccc4870d63c7be5bc411025204a1ebf349a60500;p=oota-llvm.git Add test case from PR940. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30852 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/2006-10-09-CycleInDAG.ll b/test/CodeGen/X86/2006-10-09-CycleInDAG.ll new file mode 100644 index 00000000000..fab720f599d --- /dev/null +++ b/test/CodeGen/X86/2006-10-09-CycleInDAG.ll @@ -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 +}