Skip to main content

devectorize

Function devectorize 

Source
pub fn devectorize(ast: &Arc<UOp>) -> Arc<UOp>
Expand description

Run devectorize pass. Call AFTER pre_expand, BEFORE codegen.

Single-pass combined matcher (Tinygrad pm_devectorize): sym + devectorize + load_store_folding + correct_load_store + load_store_indexing

Note: bool_storage_patterns() called separately (backend-specific). Note: pm_render() should be applied AFTER this pass.