https://bugs.llvm.org/show_bug.cgi?id=37762
Bug ID: 37762
Summary: [X86] Use SelectionDAG::computeOverflowKind to relax
ADD/SUB S/US nodes to generic ADD/SUB
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedb...@nondot.org
Reporter: llvm-...@redking.me.uk
CC: craig.top...@gmail.com, deadal...@gmail.com,
lebedev...@gmail.com, llvm-bugs@lists.llvm.org,
spatel+l...@rotateright.com
If the saturated nodes are guaranteed not to overflow then they should become
generic ADD/SUB nodes. As a stretch goal the HADDS/HSUBS cases could be handled
as well.
Many CPUs can perform the saturated forms only on some ports, or at a lower
perf.
--
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