[PATCH] D108992: [KnownBits] Add support for X+X and X*X self-addition/multiplication

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 31 06:26:24 PDT 2021


nikic added a comment.

Though InstCombine already canonicalizes `add x, x` to `shl x, 1`, so it probably doesn't make sense to explicitly handle that case at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108992



More information about the llvm-commits mailing list