HomePhabricator

[mlir][Linalg] Fix ASAN bug

Authored by nicolasvasilache on Oct 1 2020, 3:57 AM.

Description

[mlir][Linalg] Fix ASAN bug

LinalgTilingOptions &setTileSizes(ValueRange ts)

makes it all too easy to create stack-use-after-return errors.

In particular, c694588fc52a8845174fee06ad0bcfa338e87816 introduced one such issue.

Instead just take a copy in the lambda and be done with it.

Details

Committed
nicolasvasilacheOct 1 2020, 3:57 AM
Parents
rG69acdfe075fa: [SCEV] Prove implicaitons via AddRec start
Branches
Unknown
Tags
Unknown