[llvm-bugs] [Bug 27471] New: llvm/lib/Target/Mips/MipsSEInstrInfo.cpp:508: possible cut'n'paste error ?

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 22 01:45:32 PDT 2016


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

            Bug ID: 27471
           Summary: llvm/lib/Target/Mips/MipsSEInstrInfo.cpp:508: possible
                    cut'n'paste error ?
           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/Mips/MipsSEInstrInfo.cpp:508] ->
[trunk/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp:507]: (style) Same expression
on both sides of '||'.

Source code is

          Opc == Mips::BGTZC  || Opc == Mips::BLEZC  || Opc == Mips::BGEZC  ||
          Opc == Mips::BGTZC  || Opc == Mips::BEQZC  || Opc == Mips::BNEZC  ||

I am not sure if the duplication should be removed or there is a missing
constant.

-- 
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/20160422/9dd86c8d/attachment-0001.html>


More information about the llvm-bugs mailing list