diff options
Diffstat (limited to 'test/CodeGen/X86/2006-10-09-CycleInDAG.ll')
-rw-r--r-- | test/CodeGen/X86/2006-10-09-CycleInDAG.ll | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/CodeGen/X86/2006-10-09-CycleInDAG.ll b/test/CodeGen/X86/2006-10-09-CycleInDAG.ll index fbcc5cd078..d627d1bf21 100644 --- a/test/CodeGen/X86/2006-10-09-CycleInDAG.ll +++ b/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 } + |