summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-07-07 20:57:47 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-07-07 20:57:47 +0000
commiteacb8c4dd6fb5965736fb55801143284507f95cd (patch)
tree74beb2536b18bd77fc288243da245fbf53b9843a
parentcbbfd0b1940d8fcbd5788a45550b8e792a5a1263 (diff)
downloadbcm5719-llvm-eacb8c4dd6fb5965736fb55801143284507f95cd.tar.gz
bcm5719-llvm-eacb8c4dd6fb5965736fb55801143284507f95cd.zip
Fix comment typo. NFC
llvm-svn: 241625
-rw-r--r--llvm/include/llvm/IR/Instruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Instruction.h b/llvm/include/llvm/IR/Instruction.h
index 6e3de1f1354..31f363f70a5 100644
--- a/llvm/include/llvm/IR/Instruction.h
+++ b/llvm/include/llvm/IR/Instruction.h
@@ -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();
OpenPOWER on IntegriCloud