Make createMaterializeVectorsPass take a vectorSize parameter - NFC
authorNicolas Vasilache <ntv@google.com>
Fri, 29 Mar 2019 16:47:30 +0000 (09:47 -0700)
committerjpienaar <jpienaar@google.com>
Sat, 30 Mar 2019 00:56:12 +0000 (17:56 -0700)
commitf93a5be65f1a69093a51252b94c8a0c93cb546b4
tree4bfe0b4a782b51dcdbddc81b82f1c773370686c9
parent5303587448cf3608b7eda02b0c1cd0ebdf8eb37e
Make createMaterializeVectorsPass take a vectorSize parameter - NFC

This CL allows the programmatic control of the target hardware vector size when creating a MaterializeVectorsPass.
This is useful for registering passes for the tutorial.

PiperOrigin-RevId: 240996136
mlir/include/mlir/Transforms/Passes.h
mlir/lib/Transforms/MaterializeVectors.cpp
mlir/lib/Transforms/Vectorize.cpp