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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs