[LLVMbugs] [Bug 23959] New: lib/Target/Hexagon/HexagonInstrInfo.cpp:1982: bad return expression ?
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 26 01:41:44 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23959
Bug ID: 23959
Summary: lib/Target/Hexagon/HexagonInstrInfo.cpp:1982: bad
return expression ?
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: llvmbugs at cs.uiuc.edu
Classification: Unclassified
llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp:1978]: (style) Same expression on
both sides of '||'.
Source code is
return (Opcode == Hexagon::J2_jumpt) ||
(Opcode == Hexagon::J2_jumpf) ||
(Opcode == Hexagon::J2_jumptnewpt) ||
(Opcode == Hexagon::J2_jumpfnewpt) ||
(Opcode == Hexagon::J2_jumpt) ||
(Opcode == Hexagon::J2_jumpf);
There looks to be an opportunity to simplify the code.
--
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/20150626/cad8d56a/attachment.html>
More information about the llvm-bugs
mailing list