[llvm-bugs] [Bug 45223] New: trunk/llvm/lib/Target/PowerPC/PPCMacroFusion.cpp:116:31: warning: Logical disjunction always evaluates to true
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 17 02:32:39 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45223
Bug ID: 45223
Summary: trunk/llvm/lib/Target/PowerPC/PPCMacroFusion.cpp:116:3
1: warning: Logical disjunction always evaluates to
true
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: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
trunk/llvm/lib/Target/PowerPC/PPCMacroFusion.cpp:116:31: warning: Logical
disjunction always evaluates to true: EXPR != 0 || EXPR != 0xFFF0.
[incorrectLogicOperator]
Source code is
if (((Imm & 0xFFF0) != 0) || ((Imm & 0xFFF0) != 0xFFF0))
return false;
--
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/20200317/51e52b99/attachment.html>
More information about the llvm-bugs
mailing list