diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-05-19 18:18:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-05-19 18:18:39 +0000 |
commit | dc867ae1fc2f88b5619d43c39b1974918b68fbeb (patch) | |
tree | 823dc62feb6072f9444f4e45cc74e6fd65fb2e96 /llvm/lib | |
parent | 92bb12ca3e6dfbbebf906257f758d0b1a30ed425 (diff) | |
download | bcm5719-llvm-dc867ae1fc2f88b5619d43c39b1974918b68fbeb.tar.gz bcm5719-llvm-dc867ae1fc2f88b5619d43c39b1974918b68fbeb.zip |
Add comment.
llvm-svn: 131659
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index 4b8a67d94d4..243937705ac 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -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; |