llvm-project/mlir/test/Dialect/Affine
Amy Zhuang a8b7e56f65 [mlir] Set insertion point of vector constant to the top of the vectorized loop body
When we vectorize a scalar constant, the vector constant is inserted before its
first user if the scalar constant is defined outside the loops to be vectorized.
It is possible that the vector constant does not dominate all its users. To fix
the problem, we find the innermost vectorized loop that encloses that first user
and insert the vector constant at the top of the loop body.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106609
2021-07-29 15:42:23 -07:00
..
SuperVectorize [mlir] Set insertion point of vector constant to the top of the vectorized loop body 2021-07-29 15:42:23 -07:00
affine-data-copy.mlir [MLIR] Fix memref get constant bound size and shape method 2021-07-05 23:00:41 +05:30
affine-loop-invariant-code-motion.mlir [MLIR][Affine][LICM] Mark users of `iter_args` variant 2021-05-25 15:56:52 +05:30
affine-loop-normalize.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
canonicalize.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
constant-fold.mlir [mlir] Add a test exercising partial constant folding of affine min/max 2020-05-07 12:42:03 +02:00
dma-generate.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
dma.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
inlining.mlir [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization 2020-12-14 18:09:47 -08:00
invalid.mlir [mlir] support max/min lower/upper bounds in affine.parallel 2021-04-29 13:16:25 +02:00
load-store-invalid.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
load-store.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
loop-permute.mlir Fix test: add `-allow-unregistered-dialect` to Affine/loop-permute.mlir test (missed during rebase) 2020-03-30 20:14:47 +00:00
loop-tiling-parametric.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
loop-tiling-unsupported.mlir [MLIR][Affine] Add test for non-hyperrectangular loop tiling 2020-07-26 20:17:23 +05:30
loop-tiling-validity.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
loop-tiling.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
loop-unswitch.mlir [MLIR] Simplify affine.if ops with trivial conditions 2021-06-12 19:29:10 +05:30
memref-stride-calculation.mlir [mlir] Support MemRefType with multiple AffineMaps in getStridesAndOffset 2021-03-25 12:18:49 +03:00
ops.mlir [MLIR] Add support for empty IVs to affine.parallel 2021-05-26 23:45:11 +00:00
parallelize.mlir [MLIR] Fix affine parallelize pass. 2021-06-17 01:25:24 +05:30
scalrep.mlir [MLIR] Allow Affine scalar replacement to handle inner operations 2021-07-01 15:12:59 -04:00
simplify-affine-structures.mlir [MLIR] Introduce a new rewrite driver to simplify supplied list of ops 2021-07-21 20:25:16 +05:30
slicing-utils.mlir [mlir] Fix slicing-utils.mlir test after D104516 2021-06-23 02:52:17 +00:00
unroll-jam.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
unroll.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00