commit | aaa7f499c1a2d46491a98d978ef45b0a06d73d31 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu May 19 18:18:39 2011 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu May 19 18:18:39 2011 +0000 |
tree | a07286c096e94fa2ab1d0146ff16d047cc4eadcd | |
parent | 95b8ae190ef8ee00d0d5aa7e26cdda9cc9ed6717 [diff] [blame] |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131659 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp index 4b8a67d..2439377 100644 --- a/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -597,6 +597,7 @@ 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;