[PATCH] D109141: [AggressiveInstCombine] Add `AssumptionCache` to aggressive instcombine

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 01:59:42 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.

Add support for `@llvm.assume()` to `TruncInstCombine` allowing
optimizations based on these intrinsics while computing known bits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109141

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109141.370193.patch
Type: text/x-patch
Size: 8837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/0b052d1a/attachment.bin>


More information about the llvm-commits mailing list