[PATCH] D82005: [InstCombine] Replace selects with Phis

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 21 21:50:09 PDT 2020


mkazantsev added a comment.

> An incoming multi-edge (same predecessor occurring multiple times) from a switch.

Not sure why it is important, but ok, will do.

> A select operand coming from the terminator of a predecessor block, e.g. an invoke result.

We do not support that. Do you want a negative test?

> A select with a very obviously non-dominating input.

A select cannot have a non-dominating input.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82005/new/

https://reviews.llvm.org/D82005





More information about the llvm-commits mailing list