http://bugs.llvm.org/show_bug.cgi?id=32138

            Bug ID: 32138
           Summary: lib/CodeGen/BranchCoalescing.cpp:263]: (style)
                    Redundant condition
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: dcb...@hotmail.com
                CC: llvm-bugs@lists.llvm.org

llvm/lib/CodeGen/BranchCoalescing.cpp:263]: (style) Redundant condition:
Cand.BranchTargetBlock. '!A || (A && B)' is equivalent to '!A || B'

Source code is

  if (!Cand.BranchTargetBlock || (Cand.BranchTargetBlock && FalseMBB)
      || !Cand.BranchBlock->isSuccessor(Cand.BranchTargetBlock)) {

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to