[llvm-commits] [llvm] r44298 - /llvm/trunk/test/CodeGen/X86/rdtsc.ll
Chris Lattner
sabre at nondot.org
Fri Nov 23 21:39:30 PST 2007
Author: lattner
Date: Fri Nov 23 23:39:29 2007
New Revision: 44298
URL: http://llvm.org/viewvc/llvm-project?rev=44298&view=rev
Log:
upgrade this test
Modified:
llvm/trunk/test/CodeGen/X86/rdtsc.ll
Modified: llvm/trunk/test/CodeGen/X86/rdtsc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rdtsc.ll?rev=44298&r1=44297&r2=44298&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rdtsc.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rdtsc.ll Fri Nov 23 23:39:29 2007
@@ -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( ) ; <i64> [#uses=1]
+ ret i64 %tmp.1
}
-
More information about the llvm-commits
mailing list