[SystemZ] Improvement in tryRxSBG().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 18 Jan 2023 19:29:37 +0000 (13:29 -0600)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 19 Jan 2023 16:43:52 +0000 (10:43 -0600)
commita9c5a98f810d380919d25c3073c61725d73d3c41
treeec67c9898b5d90be0b9c9dcc6be1ae86d3dd0f96
parentafca08a567e3803aeb0c32385e62c84bec58ef46
[SystemZ] Improvement in tryRxSBG().

Only allow replacements of nodes that have a single user. This is better as
simple instructions (e.g. XGRK) are one cycle faster, and it helps in cases
where both inputs share a common node.

Review: Ulrich Weigand
llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
llvm/test/CodeGen/SystemZ/flt-rounds.ll
llvm/test/CodeGen/SystemZ/rnsbg-01.ll
llvm/test/CodeGen/SystemZ/store_nonbytesized_vecs.ll