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: unassignedb...@nondot.org
          Reporter: dcb...@hotmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to