diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/IRBuilder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/IRBuilder.h b/llvm/include/llvm/Support/IRBuilder.h index 1156825efb3..9e7aa459809 100644 --- a/llvm/include/llvm/Support/IRBuilder.h +++ b/llvm/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); } |

