Open llvmbot opened 3 years ago
simplifyAffineMap should be able to simplify affine maps such as:
simplifyAffineMap
#map = affine_map<()[s0, s1, s2] -> (-(s0 - (s0 - s1) mod s2) + s0)>
Maps are usually simplified by flattening them, but this is currently not supported for semi-affine maps.
assigned to @bondhugula
Extended Description
simplifyAffineMap
should be able to simplify affine maps such as:Maps are usually simplified by flattening them, but this is currently not supported for semi-affine maps.