Rename IRBuilder::IsNonNull -> IsNotNull in response to feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2008-10-02 17:05:03 +00:00
parent d790a5ceee
commit 76dba94dfa

View File

@ -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);
}