aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-10-09-CycleInDAG.ll')
-rw-r--r--test/CodeGen/X86/2006-10-09-CycleInDAG.ll10
1 files changed, 10 insertions, 0 deletions
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 0000000..fbcc5cd
--- /dev/null
+++ b/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-upgrade < %s | llvm-as | 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
+}