[llvm-bugs] [Bug 28352] New: trunk/llvm/lib/Transforms/Scalar/Reassociate.cpp:510: pointless test ?

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 29 02:08:10 PDT 2016


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

            Bug ID: 28352
           Summary: trunk/llvm/lib/Transforms/Scalar/Reassociate.cpp:510:
                    pointless test ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

trunk/llvm/lib/Transforms/Scalar/Reassociate.cpp:510]: (style) Condition
'It!=Leaves.end()' is always true

Source code is

     if (It == Leaves.end()) {
...
     } else if (It != Leaves.end()) {

-- 
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/20160629/2d8c3520/attachment.html>


More information about the llvm-bugs mailing list