[PATCH] D153004: [LSR] Consider post-inc form when creating extends/truncates.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 09:07:47 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:4143
+/// loops, first de-normalize \p Expr, then perform the extension/truncate and
+/// normalize again, as to normalized form can result in folds that are not
+/// valid in the post-inc use contexts.
----------------
to -> the


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153004



More information about the llvm-commits mailing list