[llvm-bugs] [Bug 28800] New: lib/CodeGen/MachinePipeliner.cpp:3784]: (style) Redundant condition
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 1 10:50:47 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28800
Bug ID: 28800
Summary: lib/CodeGen/MachinePipeliner.cpp:3784]: (style)
Redundant condition
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
lvm/lib/CodeGen/MachinePipeliner.cpp:3784]: (style) Redundant condition:
LoopCycle<=DefCycle. 'A || (!A && B)' is equivalent to 'A || B'
Source code is
return LoopCycle > DefCycle ||
(LoopCycle <= DefCycle && LoopStage <= DefStage);
--
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/20160801/50bfd8bc/attachment.html>
More information about the llvm-bugs
mailing list