[PATCH] D107766: [AggressiveInstCombine] Add shift instructions to `TruncInstCombine` DAG

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 14 10:32:05 PDT 2021


lebedev.ri added a comment.

I think we want to do this in three steps.
`lshr` is easy and obvious, but for `ashr` we want to count *sign* bits.
Haven't really thought about `shl`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107766



More information about the llvm-commits mailing list