[llvm-commits] [llvm] r131659 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp

Evan Cheng evan.cheng at apple.com
Thu May 19 11:18:39 PDT 2011


Author: evancheng
Date: Thu May 19 13:18:39 2011
New Revision: 131659

URL: http://llvm.org/viewvc/llvm-project?rev=131659&view=rev
Log:
Add comment.

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp?rev=131659&r1=131658&r2=131659&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp Thu May 19 13:18:39 2011
@@ -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;





More information about the llvm-commits mailing list