[PATCH] D126043: [LSR] Drop LSR solution if it is less profitable than baseline

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 06:53:03 PDT 2022


eopXD updated this revision to Diff 463880.
eopXD added a comment.

Change:

- Drop solution when baseline solution is better
- Remove check for isLoser before calling RateFormula
- Minor adjustment to debug log


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126043

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/lsr-drop-solution.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126043.463880.patch
Type: text/x-patch
Size: 4915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220929/34d6acd0/attachment.bin>


More information about the llvm-commits mailing list