PiperOrigin-RevId: 313942377
Change-Id: I4b88e41cdd557fc99669aa24a24083fead4b3c8b
This commit is contained in:
A. Unique TensorFlower 2020-05-30 09:15:23 -07:00 committed by TensorFlower Gardener
parent e9077ee047
commit 3073d9b54a
2 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,7 @@ constexpr StringRef kTempBufferAttr = "temp";
template <typename T>
using BaseOpConversion = BufferAssignmentOpConversionPattern<T>;
using StdReturnOpConverter =
NoBufferOperandsReturnOpConverter<mlir::ReturnOp, xla_lhlo::TerminatorOp,
BufferAssignmentReturnOpConverter<mlir::ReturnOp, xla_lhlo::TerminatorOp,
xla_lhlo::CopyOp>;
Value InsertDynamicAllocAndDealloc(Location loc, Value result,

View File

@ -312,6 +312,7 @@ cc_library(
":Transforms",
":VectorOps",
":VectorToLLVM",
":VectorToSCF",
"@llvm-project//llvm:core",
"@llvm-project//llvm:support",
],
@ -1257,6 +1258,7 @@ cc_library(
":Transforms",
":VectorOps",
":VectorToLLVM",
":VectorToSCF",
"@llvm-project//llvm:support",
],
)
@ -2589,6 +2591,7 @@ cc_library(
":TransformsPassIncGen",
":VectorOps",
":VectorToLLVM",
":VectorToSCF",
],
)
@ -3393,7 +3396,7 @@ cc_library(
srcs = glob([
"lib/Conversion/VectorToSCF/*.cpp",
"lib/Conversion/VectorToSCF/*.h",
]),
]) + ["lib/Conversion/PassDetail.h"],
hdrs = glob([
"include/mlir/Conversion/VectorToSCF/*.h",
]),