[llvm-commits] [llvm] r81857 - /llvm/trunk/test/CodeGen/X86/cmov.ll

Dan Gohman gohman at apple.com
Tue Sep 15 08:09:54 PDT 2009


Author: djg
Date: Tue Sep 15 10:09:54 2009
New Revision: 81857

URL: http://llvm.org/viewvc/llvm-project?rev=81857&view=rev
Log:
Restore a comment that was lost in the merge.

Modified:
    llvm/trunk/test/CodeGen/X86/cmov.ll

Modified: llvm/trunk/test/CodeGen/X86/cmov.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/cmov.ll?rev=81857&r1=81856&r2=81857&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/cmov.ll (original)
+++ llvm/trunk/test/CodeGen/X86/cmov.ll Tue Sep 15 10:09:54 2009
@@ -33,6 +33,10 @@
 }
 
 
+; x86's 32-bit cmov doesn't clobber the high 32 bits of the destination
+; if the condition is false. An explicit zero-extend (movl) is needed
+; after the cmov.
+
 declare void @bar(i64) nounwind
 
 define void @test3(i64 %a, i64 %b, i1 %p) nounwind {





More information about the llvm-commits mailing list