[mlir][affine] Rigorous check for loop unrolling store operation
authorlewuathe <lewuathe@me.com>
Fri, 24 Jun 2022 23:59:13 +0000 (08:59 +0900)
committerlewuathe <lewuathe@me.com>
Sat, 25 Jun 2022 00:30:43 +0000 (09:30 +0900)
commitbd861056a528c71ea45cabcfe7b89647732d9afc
treec676cfbd6a0545f7ed8c24520de459d6e213750e
parent96f6ec5090c2f7a1e4804693cbb84c29c574b3de
[mlir][affine] Rigorous check for loop unrolling store operation

Static loop unrolling does not change the operation type. We can rigorously make sure to use affine.store in the check.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D128237
mlir/test/Dialect/SCF/loop-unroll.mlir