HomePhabricator

[mlir][Python][linalg] Fix to limit size of SmallVector.

Authored by gysit on May 20 2021, 12:22 AM.

Description

[mlir][Python][linalg] Fix to limit size of SmallVector.

Stack allocate at most two ScalarAssign elements. Using the default number of inlined elements triggered a static assert in some setups (https://reviews.llvm.org/D102075).

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

Details

Committed
gysitMay 20 2021, 12:24 AM
Differential Revision
D102827: [mlir][Python][linalg] Fix to limit size of SmallVector.
Parents
rG775ca3a89cba: [clang-tidy] Fix a crash for raw-string-literal check.
Branches
Unknown
Tags
Unknown