summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-25 04:26:08 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-25 04:26:08 +0000
commit8bf97c232422a5aa37f0cd25a02997beaf4755f5 (patch)
tree7d85998007309b5ef21fc4aef0d80220078b72f5 /llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
parent945a246ad8eb82a1ec3d01a6bdae624afab94aa9 (diff)
downloadbcm5719-llvm-8bf97c232422a5aa37f0cd25a02997beaf4755f5.tar.gz
bcm5719-llvm-8bf97c232422a5aa37f0cd25a02997beaf4755f5.zip
Byebye llvm-upgrade!
llvm-svn: 48762
Diffstat (limited to 'llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll')
-rw-r--r--llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll15
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll b/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
index fbcc5cd078e..d627d1bf214 100644
--- a/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
+++ b/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll
@@ -1,10 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
+; 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
+define void @_ZN13QFSFileEngine4readEPcx() {
+ %tmp201 = load i32* null ; <i32> [#uses=1]
+ %tmp201.upgrd.1 = sext i32 %tmp201 to i64 ; <i64> [#uses=1]
+ %tmp202 = load i64* null ; <i64> [#uses=1]
+ %tmp203 = add i64 %tmp201.upgrd.1, %tmp202 ; <i64> [#uses=1]
+ store i64 %tmp203, i64* null
ret void
}
+
OpenPOWER on IntegriCloud