Restore a comment that was lost in the merge.
authorDan Gohman <gohman@apple.com>
Tue, 15 Sep 2009 15:09:54 +0000 (15:09 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 15 Sep 2009 15:09:54 +0000 (15:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81857 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/cmov.ll

index d96babb447344161f398122aa2b3cc9be4d892b0..f3c9a7addf83bb9b61466a80c7d02ae78f012e91 100644 (file)
@@ -33,6 +33,10 @@ entry:
 }
 
 
+; 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 {