Fix Windows Build

PiperOrigin-RevId: 282048102
Change-Id: Iba693bb353b718296dffa5f592c520d72fed1e7a
This commit is contained in:
Nicolas Vasilache 2019-11-22 14:56:36 -08:00 committed by TensorFlower Gardener
parent 70bc652dee
commit 4235b604cf
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,7 @@ namespace linalg {
// Marker used as attribute name in generated Linalg rewriting transformations. // Marker used as attribute name in generated Linalg rewriting transformations.
struct LinalgTransforms { struct LinalgTransforms {
static constexpr StringRef kLinalgTransformMarker = static const StringLiteral kLinalgTransformMarker;
"__internal_linalg_transform__";
}; };
// Declarative transformation used in tablegen patterns. // Declarative transformation used in tablegen patterns.

View File

@ -30,7 +30,8 @@ using namespace mlir;
using namespace mlir::linalg; using namespace mlir::linalg;
// Marker used as attribute name in generated Linalg rewriting transformations. // Marker used as attribute name in generated Linalg rewriting transformations.
constexpr StringRef mlir::linalg::LinalgTransforms::kLinalgTransformMarker; const StringLiteral mlir::linalg::LinalgTransforms::kLinalgTransformMarker =
"__internal_linalg_transform__";
LogicalResult mlir::linalg::tileLinalgOpAndSetMarker(PatternRewriter &rewriter, LogicalResult mlir::linalg::tileLinalgOpAndSetMarker(PatternRewriter &rewriter,
Operation *op, Operation *op,