Add comment.

llvm-svn: 131659
This commit is contained in:
Evan Cheng 2011-05-19 18:18:39 +00:00
parent 92bb12ca3e
commit dc867ae1fc
1 changed files with 1 additions and 0 deletions

View File

@ -597,6 +597,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
case Intrinsic::x86_sse41_pmovzxbw:
case Intrinsic::x86_sse41_pmovzxwd:
case Intrinsic::x86_sse41_pmovzxdq: {
// pmov{s|z}x ignores the upper half of their input vectors.
unsigned VWidth =
cast<VectorType>(II->getArgOperand(0)->getType())->getNumElements();
unsigned LowHalfElts = VWidth / 2;