[llvm-bugs] [Bug 26659] New: llvm/lib/Target/AMDGPU/SIInsertWaits.cpp:167: duplicate compare ?

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 18 05:42:57 PST 2016


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

            Bug ID: 26659
           Summary: llvm/lib/Target/AMDGPU/SIInsertWaits.cpp:167:
                    duplicate compare ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          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/Target/AMDGPU/SIInsertWaits.cpp:167]: (style) Same expression
on both sides of '||'.

Source code is

  return Opcode == AMDGPU::S_CBRANCH_VCCNZ || Opcode ==
AMDGPU::S_CBRANCH_VCCNZ;

Maybe one of these should be some other value ?

-- 
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/20160218/f8baf4f9/attachment.html>


More information about the llvm-bugs mailing list