[all-commits] [llvm/llvm-project] 2d0d65: [VPlan] Create edge masks all cases up front neede...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Jan 28 13:26:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d0d65b3babecbd339b01fdf7da29b8dfd69f889
https://github.com/llvm/llvm-project/commit/2d0d65b3babecbd339b01fdf7da29b8dfd69f889
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-01-28 (Sun, 28 Jan 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
Log Message:
-----------
[VPlan] Create edge masks all cases up front needed.(NFC)
Similarly to how block masks are created up front and later only
retrieved also make sure masks are created in cases where edge masks are
needed, i.e. blend recipes.
Creating block-in masks for all blocks in the loop also ensures edge
masks for all relevant edges have been created. Later, the new
getEdgeMask can be used to look up cached edge masks.
This makes sure edge masks are available in all cases for
https://github.com/llvm/llvm-project/pull/76090.
More information about the All-commits
mailing list