[PATCH] D108091: [AggressiveInstCombine] Add shift left instruction to `TruncInstCombine` DAG

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 15 22:27:05 PDT 2021


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

Move to getBestTruncatedType() and add early return


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108091

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108091.366548.patch
Type: text/x-patch
Size: 6228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210816/ee0d19ff/attachment.bin>


More information about the llvm-commits mailing list