[all-commits] [llvm/llvm-project] 564d10: [LV] Pass VectorHeader block to emitTransformedInd...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Dec 17 02:11:42 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 564d109b35e3dde79280d3935fc7fad9d3befd18
https://github.com/llvm/llvm-project/commit/564d109b35e3dde79280d3935fc7fad9d3befd18
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Pass VectorHeader block to emitTransformedIndex (NFC).
Pass in the vector header instead of relying on ILV::LoopVectorBody.
This reduces the dependence on state from ILV. Where VPTransformState is
available, State.CFG.PrevBB can be used.
More information about the All-commits
mailing list