llvm-project/mlir/test/lib
Nicolas Vasilache 1ce524623c Fix MemRefType::getStrides corner case
MemRefType::getStrides uses AffineExpr::walk which operates in post-order from the leaves. In order to compute strides properly, it needs to escape on terminal nodes and analyze binary ops only. This did not work for AffineExpr that consist of a single term (i.e. without a binary op).

This CL fixes the corner case and adds relevant tests.

PiperOrigin-RevId: 271975746
2019-09-30 07:27:39 -07:00
..
Pass Publicly expose the functionality to parse a textual pass pipeline. 2019-09-13 17:54:00 -07:00
TestDialect Add InferTypeOpTrait & enable generating its member function definition 2019-09-29 17:29:00 -07:00
Transforms Fix MemRefType::getStrides corner case 2019-09-30 07:27:39 -07:00
CMakeLists.txt Refactor PassTiming to support nested pipelines. 2019-09-08 19:58:13 -07:00