[PATCH] D58210: [SelectionDAGLegalize] Improve promotion of CTLZ

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 14 14:16:22 PST 2019


efriedma added a comment.

Generally we should prefer to perform combines in DAGCombine in cases where it's straightforward.  (There are a few scattered optimizations in legalization, but mostly for cases that can't simplify after legalization, like libcalls.)


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

https://reviews.llvm.org/D58210





More information about the llvm-commits mailing list