summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/cmov.ll
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
commita5f4dbf111d722b4912022a5eee0306307b79fb4 (patch)
treeaf26ecac2bfde96d6afe0b9cc07a1fedf1dc2cdf /test/CodeGen/X86/cmov.ll
parent75144f93eb7e4dbf22d308d21581ae255dd520c6 (diff)
downloadllvm-a5f4dbf111d722b4912022a5eee0306307b79fb4.tar.gz
llvm-a5f4dbf111d722b4912022a5eee0306307b79fb4.tar.bz2
llvm-a5f4dbf111d722b4912022a5eee0306307b79fb4.tar.xz
Restore a comment that was lost in the merge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/cmov.ll')
-rw-r--r--test/CodeGen/X86/cmov.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/X86/cmov.ll b/test/CodeGen/X86/cmov.ll
index d96babb447..f3c9a7addf 100644
--- a/test/CodeGen/X86/cmov.ll
+++ b/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 {