Function tvm::tirx::transform::VectorizeLoop

Function tvm::tirx::transform::VectorizeLoop#

Function Documentation#

Pass tvm::tirx::transform::VectorizeLoop(bool enable_vectorize = true)#

Lower vectorization loops.

Target-dependent vectorization uses the Function’s target attribute, not an ambient target context or nested target attributes. Target-independent fixed-width loops do not require a target. Code needing different vectorization targets must be separated into functions before this pass.

Parameters:

enable_vectorize – Whether vectorization is enabled.

Returns:

The pass.