[all-commits] [llvm/llvm-project] 620e01: [VPlan] Don't add live-outs if scalar epilogue is ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Apr 9 01:19:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 620e011a2506c49d3ce6bdd77b9d17bef5edcf03
https://github.com/llvm/llvm-project/commit/620e011a2506c49d3ce6bdd77b9d17bef5edcf03
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-04-09 (Sun, 09 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Transforms/LoopVectorize/loop-form.ll
Log Message:
-----------
[VPlan] Don't add live-outs if scalar epilogue is required.
Instead of clearing live outs when a scalar epilogue is required late,
don't add live outs during VPlan construction if a scalar epilogue is
required.
This enables more VPlan-based DCE (if the live out would be the only
user in the plan) and is a step towards removing an access of the cost
model in fixedVectorizedLoop (which is after VPlan execution).
Depends on D147468.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D147471
More information about the All-commits
mailing list