summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-15 15:09:54 +0000
committerDan Gohman <gohman@apple.com>2009-09-15 15:09:54 +0000
commitd29cafc08390a5da1983a83c2c5b9750de49441b (patch)
tree055049d163b3a2dd3c94af2b2824c32cda732faa /llvm/test/CodeGen
parent1f58f0e1877a43ba5bbc8a22d8e4baed72fec7b6 (diff)
downloadbcm5719-llvm-d29cafc08390a5da1983a83c2c5b9750de49441b.tar.gz
bcm5719-llvm-d29cafc08390a5da1983a83c2c5b9750de49441b.zip
Restore a comment that was lost in the merge.
llvm-svn: 81857
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/cmov.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/cmov.ll b/llvm/test/CodeGen/X86/cmov.ll
index d96babb4473..f3c9a7addf8 100644
--- a/llvm/test/CodeGen/X86/cmov.ll
+++ b/llvm/test/CodeGen/X86/cmov.ll
@@ -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 {
OpenPOWER on IntegriCloud