[llvm] r335301 - [IR] fix typo in comment; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 15:25:42 PDT 2018
Author: spatel
Date: Thu Jun 21 15:25:42 2018
New Revision: 335301
URL: http://llvm.org/viewvc/llvm-project?rev=335301&view=rev
Log:
[IR] fix typo in comment; 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=335301&r1=335300&r2=335301&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instruction.h (original)
+++ llvm/trunk/include/llvm/IR/Instruction.h Thu Jun 21 15:25:42 2018
@@ -289,7 +289,7 @@ public:
/// Return the debug location for this node as a DebugLoc.
const DebugLoc &getDebugLoc() const { return DbgLoc; }
- /// Set or clear the nsw flag on this instruction, which must be an operator
+ /// Set or clear the nuw flag on this instruction, which must be an operator
/// which supports this flag. See LangRef.html for the meaning of this flag.
void setHasNoUnsignedWrap(bool b = true);
More information about the llvm-commits
mailing list