[llvm] r345057 - [IR] Fix -Wunused-function after r345052
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 23 10:43:52 PDT 2018
Thanks! I just saw a bot fail from that:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/26759/steps/build_Lld/logs/stdio
On Tue, Oct 23, 2018 at 11:26 AM Fangrui Song via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: maskray
> Date: Tue Oct 23 10:24:15 2018
> New Revision: 345057
>
> URL: http://llvm.org/viewvc/llvm-project?rev=345057&view=rev
> Log:
> [IR] Fix -Wunused-function after r345052
>
> Modified:
> llvm/trunk/lib/IR/Instructions.cpp
>
> Modified: llvm/trunk/lib/IR/Instructions.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Instructions.cpp?rev=345057&r1=345056&r2=345057&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/IR/Instructions.cpp (original)
> +++ llvm/trunk/lib/IR/Instructions.cpp Tue Oct 23 10:24:15 2018
> @@ -2109,13 +2109,6 @@ BinaryOperator *BinaryOperator::CreateNo
> Op->getType(), Name, InsertAtEnd);
> }
>
> -// isConstantAllOnes - Helper function for several functions below
> -static inline bool isConstantAllOnes(const Value *V) {
> - if (const Constant *C = dyn_cast<Constant>(V))
> - return C->isAllOnesValue();
> - return false;
> -}
> -
> bool BinaryOperator::isFNeg(const Value *V, bool IgnoreZeroSign) {
> if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
> if (Bop->getOpcode() == Instruction::FSub)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/4e1485d3/attachment.html>
More information about the llvm-commits
mailing list