Samuel Parker c7f9344d0f [DAGCombine] Fold redundant select
Recommit bbdf24357932b064f2aa18ea1356b474e0220dde.

Original commit message:

If a chain of two selects share a true/false value and are controlled
by two setcc nodes, that are never both true, we can fold away one of
the selects. So, the following:
(select (setcc X, const0, eq), Y,
  (select (setcc X, const1, eq), Z, Y))

Can be combined to:
  select (setcc X, const1, eq) Z, Y

Differential Revision: https://reviews.llvm.org/D142535
2023-02-15 10:32:16 +00:00
..
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00