[PATCH] D107766: [InstCombine] Get rid of `hasOneUses()` when swapping `lshr` and `zext`

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 9 10:52:28 PDT 2021


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

Move fix to AggressiveInstCombine


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107766

Files:
  llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/pr50555.ll
  llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll
  llvm/test/Transforms/InstCombine/apint-cast.ll
  llvm/test/Transforms/InstCombine/cast.ll
  llvm/test/Transforms/SLPVectorizer/X86/pr50555.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107766.365222.patch
Type: text/x-patch
Size: 25101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210809/8d9f030d/attachment.bin>


More information about the llvm-commits mailing list