[mlir] NFC: small fixes to LinalgTilingOptions API
authorLei Zhang <antiagainst@google.com>
Wed, 28 Oct 2020 12:28:51 +0000 (08:28 -0400)
committerLei Zhang <antiagainst@google.com>
Wed, 28 Oct 2020 12:28:58 +0000 (08:28 -0400)
commitb1b0ddbb67d206de7dd2ea028a3e5eff8f6bdf49
treee0576bc285413d8937b1174d9bc12179eacbbfb8
parent47369e194a48dbe3cf04a7845e23e25e43e973f0
[mlir] NFC: small fixes to LinalgTilingOptions API

This commit changes to use plain values instead of references.
We need to copy it anyway. References forbid using temporary
values generated from expressions.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D90277
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h