Integrate LLVM at https://github.com/llvm/llvm-project/commit/4799fb63b551
PiperOrigin-RevId: 316807673 Change-Id: I246445df966079989305be15318b9b9b4cc4db3a
This commit is contained in:
parent
62beb0fc66
commit
7c5ddb830f
@ -29,6 +29,7 @@ limitations under the License.
|
||||
#include "mlir/IR/Builders.h" // from @llvm-project
|
||||
#include "mlir/IR/Function.h" // from @llvm-project
|
||||
#include "mlir/IR/MLIRContext.h" // from @llvm-project
|
||||
#include "mlir/IR/OperationSupport.h" // from @llvm-project
|
||||
#include "mlir/IR/Value.h" // from @llvm-project
|
||||
#include "tensorflow/compiler/xla/service/cpu/cpu_options.h"
|
||||
#include "tensorflow/compiler/xla/service/cpu/cpu_runtime.h"
|
||||
@ -255,7 +256,8 @@ Status DotOpEmitter::EmitLinalgMatmul() {
|
||||
mlir::edsc::ScopedContext scope(*builder, function.getLoc());
|
||||
mlir::Value a = function.getArgument(0), b = function.getArgument(1),
|
||||
c = function.getArgument(2);
|
||||
mlir::edsc::intrinsics::linalg_matmul(b, c, a);
|
||||
mlir::edsc::intrinsics::linalg_matmul(mlir::TypeRange{},
|
||||
mlir::ValueRange{b, c, a});
|
||||
mlir::edsc::intrinsics::std_ret();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user