HomePhabricator

[MLIR] Allow Affine scalar replacement to handle inner operations

Authored by wsmoses on Jul 1 2021, 12:05 PM.

Description

[MLIR] Allow Affine scalar replacement to handle inner operations

Affine scalar replacement (and other affine passes, though not fixed here) don't properly handle operations with nested regions. This patch fixes the pass and two affine utilities to function properly given a non-affine internal region

This patch prevents the pass from throwing an internal compiler error when running on the added test case.

Differential Revision: https://reviews.llvm.org/D105058

Details

Committed
wsmosesJul 1 2021, 12:12 PM
Differential Revision
D105058: [MLIR] Allow Affine scalar replacement to handle inner operations
Parents
rG78e70cee0d46: [scudo] Remove false DCHECK
Branches
Unknown
Tags
Unknown