diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:28:19 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:28:19 +0000 |
commit | 7ba962fe4ac04acd12db803cbc255b0c00a6e4ea (patch) | |
tree | dd3c2b5b33fd5b7d301e8e6316facccd5747ced9 /lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | |
parent | f3fd7ee415ec8a6475a060e29959d04d6158f45f (diff) | |
download | llvm-7ba962fe4ac04acd12db803cbc255b0c00a6e4ea.tar.gz llvm-7ba962fe4ac04acd12db803cbc255b0c00a6e4ea.tar.bz2 llvm-7ba962fe4ac04acd12db803cbc255b0c00a6e4ea.tar.xz |
Make helper static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index 9a52be1582..d2298a0f7d 100644 --- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -90,12 +90,12 @@ static unsigned getFCmpCode(FCmpInst::Predicate CC, bool &isOrdered) { } } -/// getICmpValue - This is the complement of getICmpCode, which turns an +/// getNewICmpValue - This is the complement of getICmpCode, which turns an /// opcode and two operands into either a constant true or false, or a brand /// new ICmp instruction. The sign is passed in to determine which kind /// of predicate to use in the new icmp instruction. -Value *getNewICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, - InstCombiner::BuilderTy *Builder) { +static Value *getNewICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, + InstCombiner::BuilderTy *Builder) { ICmpInst::Predicate NewPred; if (Value *NewConstant = getICmpValue(Sign, Code, LHS, RHS, NewPred)) return NewConstant; |