[PATCH] D145929: LSR]: Fold terminating condition not only for eq and ne.

EverRest via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 05:58:52 PDT 2023


MarkGoncharovAl created this revision.
MarkGoncharovAl added a reviewer: eopXD.
Herald added a subscriber: hiraditya.
Herald added a project: All.
MarkGoncharovAl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds opportunity to fold any icmp instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145929

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll
  llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145929.504617.patch
Type: text/x-patch
Size: 6960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/61ec3629/attachment.bin>


More information about the llvm-commits mailing list