[PATCH] D108355: [AggressiveInstCombine] Add arithmetic shift right instr to `TruncInstCombine` DAG

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 07:33:21 PDT 2021


anton-afanasyev updated this revision to Diff 367492.
anton-afanasyev added a comment.

Use `countMinSignBits()`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108355

Files:
  llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/trunc_shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108355.367492.patch
Type: text/x-patch
Size: 10305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210819/b7f1daf3/attachment.bin>


More information about the llvm-commits mailing list