[all-commits] [llvm/llvm-project] e4543a: [VPlan] Track current vector loop in VPTransformSt...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Mar 30 14:16:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4543af4e639efcf084f0cfb8448eeea674e87bc
https://github.com/llvm/llvm-project/commit/e4543af4e639efcf084f0cfb8448eeea674e87bc
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-03-30 (Wed, 30 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Track current vector loop in VPTransformState (NFC).
Instead of looking up the vector loop using the header, keep track of
the current vector loop in VPTransformState. This removes the
requirement for the vector header block being part of the loop up front.
A follow-up patch will move the code to generate the Loop object for the
vector loop to VPRegionBlock.
Depends on D121619.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D121621
More information about the All-commits
mailing list