[all-commits] [llvm/llvm-project] 99d70e: [SCEV] Allow adds of constants in tryToReuseLCSSAP...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Jul 31 08:33:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99d70e09a9676d63513a496f52acf93ca7167f00
https://github.com/llvm/llvm-project/commit/99d70e09a9676d63513a496f52acf93ca7167f00
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll
M llvm/test/Transforms/LoopVectorize/reuse-lcssa-phi-scev-expansion.ll
Log Message:
-----------
[SCEV] Allow adds of constants in tryToReuseLCSSAPhi. (#150693)
Update the logic added in
https://github.com/llvm/llvm-project/pull/147824 to also allow adds of
constants. There are a number of cases where this can help remove
redundant phis and replace some computation with a ptrtoint (which
likely is free in the backend).
PR: https://github.com/llvm/llvm-project/pull/150693
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list