[PATCH] D39352: [SimplifyCFG] Don't do if-conversion if there is a long dependence chain

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 16:35:27 PST 2017


efriedma added a comment.

Rather than trying to prevent the flattening from happening in the first place, it might make more sense to reverse it later in the pass pipeline.  That would be more general, and avoid blocking other optimizations.  The x86 backend already does this in some limited cases; see X86CmovConversion.cpp.


https://reviews.llvm.org/D39352





More information about the llvm-commits mailing list