[llvm-bugs] [Bug 24624] New: trunk/llvm/lib/Target/Sparc/SparcISelLowering.cpp:471: strange condition in assert ?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 29 09:58:02 PDT 2015


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

            Bug ID: 24624
           Summary: trunk/llvm/lib/Target/Sparc/SparcISelLowering.cpp:471:
                    strange condition in assert ?
           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/Sparc/SparcISelLowering.cpp:471:32: warning
: logical ‘or’ applied to non-boolean constant [-Wlogical-op]

Source code is

   assert(VA.getValVT() == MVT::f64 || MVT::v2i32);

Maybe

   assert(VA.getValVT() == MVT::f64 || VA.getValVT() == MVT::v2i32);

-- 
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/20150829/e019d490/attachment.html>


More information about the llvm-bugs mailing list