[msan] Fix a comment.
[oota-llvm.git] / lib / Transforms / Instrumentation / MemorySanitizer.cpp
index 38a3fbb21f8cf7b82ba97528d41322d2ecc0a73c..e71e540aa82d078c52c4a77cfc721ee553a9f793 100644 (file)
@@ -2018,10 +2018,10 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
     }
   }
 
-  // \brief Instrument vector shift instrinsic.
+  // \brief Instrument vector pack instrinsic.
   //
   // This function instruments intrinsics like x86_mmx_packsswb, that
-  // packs elements of 2 input vectors into half as much bits with saturation.
+  // packs elements of 2 input vectors into half as many bits with saturation.
   // Shadow is propagated with the signed variant of the same intrinsic applied
   // to sext(Sa != zeroinitializer), sext(Sb != zeroinitializer).
   // EltSizeInBits is used only for x86mmx arguments.