[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/rdtsc.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 20 13:47:04 PST 2005



Changes in directory llvm/test/Regression/CodeGen/X86:

rdtsc.ll updated: 1.2 -> 1.3
---
Log message:

This should not be dce'd


---
Diffs of the changes:  (+2 -3)

 rdtsc.ll |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/test/Regression/CodeGen/X86/rdtsc.ll
diff -u llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.2 llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.3
--- llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.2	Sun Nov 20 15:42:49 2005
+++ llvm/test/Regression/CodeGen/X86/rdtsc.ll	Sun Nov 20 15:46:52 2005
@@ -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
 }
 






More information about the llvm-commits mailing list