mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
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:
parent
d790a5ceee
commit
76dba94dfa
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user