aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/IRBuilder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h
index 1156825efb..9e7aa45980 100644
--- a/include/llvm/Support/IRBuilder.h
+++ b/include/llvm/Support/IRBuilder.h
@@ -641,8 +641,8 @@ public:
Name);
}
- /// CreateIsNonNull - Return an i1 value testing if \arg Arg is not null.
- Value *CreateIsNonNull(Value *Arg, const char *Name = "") {
+ /// CreateIsNotNull - Return an i1 value testing if \arg Arg is not null.
+ Value *CreateIsNotNull(Value *Arg, const char *Name = "") {
return CreateICmpNE(Arg, llvm::Constant::getNullValue(Arg->getType()),
Name);
}