mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 12:16:52 +00:00

Based on the ShapeCastConstantFolder, this pattern replaces %0 = ub.poison : vector<2x3xf32> %1 = vector.shape_cast %0 vector<2x3xf32> to vector<6xf32> with %1 = ub.poison : vector<6xf32> --------- Signed-off-by: James Newling <james.newling@gmail.com>
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.