[PATCH] D54285: [DAGCombiner] Enable tryToFoldExtendOfConstant to run between legalize vector ops and legalize DAG

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 9 10:36:02 PST 2018


efriedma added a comment.

DAGCombine can legalize operations even in the "AfterLegalizeDAG" phase; I don't think you need to check for AfterLegalizeDAG at all, unless you're trying to avoid a combining loop.


https://reviews.llvm.org/D54285





More information about the llvm-commits mailing list