From 9a5bdad0ccb21fbddd9dea2abeec3b664471c77b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 24 Nov 2007 05:39:29 +0000 Subject: [PATCH] upgrade this test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44298 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/rdtsc.ll | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test/CodeGen/X86/rdtsc.ll b/test/CodeGen/X86/rdtsc.ll index f6c6c931bd9..f5d947fcbab 100644 --- a/test/CodeGen/X86/rdtsc.ll +++ b/test/CodeGen/X86/rdtsc.ll @@ -1,10 +1,8 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep rdtsc -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86-64 | grep rdtsc +; RUN: llvm-as < %s | llc -march=x86 | grep rdtsc +; RUN: llvm-as < %s | llc -march=x86-64 | grep rdtsc +declare i64 @llvm.readcyclecounter() -declare ulong %llvm.readcyclecounter() - -ulong %foo() { -%tmp.1 = call ulong %llvm.readcyclecounter () -ret ulong %tmp.1 +define i64 @foo() { + %tmp.1 = call i64 @llvm.readcyclecounter( ) ; [#uses=1] + ret i64 %tmp.1 } - -- 2.34.1