[PATCH] D37896: [DAGCombine] Resolving PR34474 by transforming mul(x, 2^c +/- 1) -> sub/add(shl(x, c) x) for any type including vector types

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 02:59:36 PDT 2021


RKSimon resigned from this revision.
RKSimon added a comment.
Herald added a subscriber: pengfei.

This can be abandoned - we have decomposeMulByConstant to handle this already


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

https://reviews.llvm.org/D37896



More information about the llvm-commits mailing list