[llvm-bugs] [Bug 37195] New: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h:208: possible typo ?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 21 08:47:46 PDT 2018


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

            Bug ID: 37195
           Summary: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDy
                    ldMachOARM.h:208: possible typo ?
           Product: new-bugs
           Version: trunk
          Hardware: Other
                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

llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h:208]:
(style) Expression '(X & 0xf800) != 0xf8000' is always true.

Source code is

     assert((LowInsn & 0xf800) != 0xf8000 &&
             "Unrecognized thumb branch encoding (BR22 low bits)");

Maybe better code

     assert((LowInsn & 0xf800) != 0xf800 &&
             "Unrecognized thumb branch encoding (BR22 low bits)");

-- 
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/20180421/087d85c1/attachment.html>


More information about the llvm-bugs mailing list