[llvm] r241625 - Fix comment typo. NFC

Jonathan Roelofs jonathan at codesourcery.com
Tue Jul 7 13:57:47 PDT 2015


Author: jroelofs
Date: Tue Jul  7 15:57:47 2015
New Revision: 241625

URL: http://llvm.org/viewvc/llvm-project?rev=241625&view=rev
Log:
Fix comment typo. NFC

Modified:
    llvm/trunk/include/llvm/IR/Instruction.h

Modified: llvm/trunk/include/llvm/IR/Instruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instruction.h?rev=241625&r1=241624&r2=241625&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instruction.h (original)
+++ llvm/trunk/include/llvm/IR/Instruction.h Tue Jul  7 15:57:47 2015
@@ -382,7 +382,7 @@ public:
   ///
   /// Note that this does not consider malloc and alloca to have side
   /// effects because the newly allocated memory is completely invisible to
-  /// instructions which don't used the returned value.  For cases where this
+  /// instructions which don't use the returned value.  For cases where this
   /// matters, isSafeToSpeculativelyExecute may be more appropriate.
   bool mayHaveSideEffects() const {
     return mayWriteToMemory() || mayThrow() || !mayReturn();





More information about the llvm-commits mailing list