aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/rdtsc.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/rdtsc.ll b/test/CodeGen/X86/rdtsc.ll
index adf84a3..efc8ba6 100644
--- a/test/CodeGen/X86/rdtsc.ll
+++ b/test/CodeGen/X86/rdtsc.ll
@@ -2,9 +2,8 @@
declare ulong %llvm.readcyclecounter()
-void %foo() {
-entry:
+ulong %foo() {
%tmp.1 = call ulong %llvm.readcyclecounter ()
-ret void
+ret ulong %tmp.1
}