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

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 24 00:40:46 PDT 2021


anton-afanasyev updated this revision to Diff 368291.
anton-afanasyev marked an inline comment as done.
anton-afanasyev added a comment.

Use `isShift()`


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_ashr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108355.368291.patch
Type: text/x-patch
Size: 8828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210824/0c1fc635/attachment.bin>


More information about the llvm-commits mailing list