diff --git a/test/CodeGen/X86/rdtsc.ll b/test/CodeGen/X86/rdtsc.ll index adf84a39b3d..efc8ba6acc3 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 }