[PATCH] D109817: [AggressiveInstCombine] Add `phi` nodes support to `TruncInstCombine`

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 02:44:40 PDT 2021


anton-afanasyev created this revision.
anton-afanasyev added reviewers: lebedev.ri, spatel, RKSimon.
Herald added a subscriber: hiraditya.
anton-afanasyev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Expand `TruncInstCombine` to handle loops by adding `phi` nodes
to expression graph reduced.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109817

Files:
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h
  llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109817.372666.patch
Type: text/x-patch
Size: 14711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/eafd7a6d/attachment.bin>


More information about the llvm-commits mailing list