[llvm-bugs] [Bug 44768] Redundant expressions in LLVM code

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 10 13:12:00 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44768

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #13 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Alexey Romanov from comment #0)
> When running my expanded version of misc-redundant-expression on LLVM
> source, following potential problems were found (after filtering false
> positives):
> 
> llvm/utils/TableGen/CodeGenDAGPatterns.cpp:483:35: warning: both sides of
> operator are equivalent [misc-redundant-expression]
>     if (any_of(S, isIntegerOrPtr) && any_of(S, isIntegerOrPtr)) {

Reopened, we still need to fix this (annoying) one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200210/8ae8693b/attachment.html>


More information about the llvm-bugs mailing list