[PATCH] D119715: [InstCombine] Fold sub(0,and(lshr(X,C),1)) --> ashr(shl(X,(BW-1)-C),BW-1) (PR53610)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 06:38:32 PST 2022


lebedev.ri added a comment.

Please add tests w/ subtraction from a value, and then double the amount of tests by adding all the missing extra-use tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119715



More information about the llvm-commits mailing list