aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopPeel.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-05-18 09:32:27 +0100
committerGitHub <noreply@github.com>2025-05-18 09:32:27 +0100
commit07c085af3efcd67503232f99a1652efc6e54c1a9 (patch)
tree3a34b433ab6f228f2e4e2d4371b708bd2f653ee8 /llvm/lib/Transforms/Utils/LoopPeel.cpp
parent3ccb15d6caf57f2a866d496ada2fb52d14b179d2 (diff)
downloadllvm-07c085af3efcd67503232f99a1652efc6e54c1a9.zip
llvm-07c085af3efcd67503232f99a1652efc6e54c1a9.tar.gz
llvm-07c085af3efcd67503232f99a1652efc6e54c1a9.tar.bz2
[VPlan] Add narrowToSingleScalarRecipe transform. (#139150)
Add a new convertToUniformRecipes transform which uses VPlan-based uniformity analysis to determine if wide recipes and replicate recipes can be converted to uniform recipes. There are a few places where we ad-hoc convert recipes to uniform recipes, which this transform will eventually replace. There are a few more generalizations required to do so which I plan to do as follow-ups. By converting the recipes to uniform recipes, we effectively materialize the information from the VPlan-based analysis. Note that there is one regression at the moment in SystemZ/pr47665.ll due to trivial constant folding opportunities in the input IR. This will be fixed by VPlan-based constant folding (https://github.com/llvm/llvm-project/pull/125365/) PR: https://github.com/llvm/llvm-project/pull/139150
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopPeel.cpp')
0 files changed, 0 insertions, 0 deletions