Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions mlir/include/mlir/Conversion/MathToXeVM/MathToXeVM.h

This file was deleted.

1 change: 0 additions & 1 deletion mlir/include/mlir/Conversion/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#include "mlir/Conversion/MathToLibm/MathToLibm.h"
#include "mlir/Conversion/MathToROCDL/MathToROCDL.h"
#include "mlir/Conversion/MathToSPIRV/MathToSPIRVPass.h"
#include "mlir/Conversion/MathToXeVM/MathToXeVM.h"
#include "mlir/Conversion/MemRefToEmitC/MemRefToEmitCPass.h"
#include "mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
#include "mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h"
Expand Down
25 changes: 0 additions & 25 deletions mlir/include/mlir/Conversion/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -796,31 +796,6 @@ def ConvertMathToSPIRVPass : Pass<"convert-math-to-spirv"> {
let dependentDialects = ["spirv::SPIRVDialect"];
}

//===----------------------------------------------------------------------===//
// MathToXeVM
//===----------------------------------------------------------------------===//

def ConvertMathToXeVM : Pass<"convert-math-to-xevm", "ModuleOp"> {
let summary =
"Convert (fast) math operations to native XeVM/SPIRV equivalents";
let description = [{
This pass converts supported math ops marked with the `afn` fastmath flag
to function calls for OpenCL `native_` math intrinsics: These intrinsics
are typically mapped directly to native device instructions, often resulting
in better performance. However, the precision/error of these intrinsics
are implementation-defined, and thus math ops are only converted when they
have the `afn` fastmath flag enabled.
}];
let options = [Option<
"convertArith", "convert-arith", "bool", /*default=*/"true",
"Convert supported Arith ops (e.g. arith.divf) as well.">];
let dependentDialects = [
"arith::ArithDialect",
"xevm::XeVMDialect",
"LLVM::LLVMDialect",
];
}

//===----------------------------------------------------------------------===//
// MathToEmitC
//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion mlir/lib/Conversion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ add_subdirectory(MathToLibm)
add_subdirectory(MathToLLVM)
add_subdirectory(MathToROCDL)
add_subdirectory(MathToSPIRV)
add_subdirectory(MathToXeVM)
add_subdirectory(MemRefToEmitC)
add_subdirectory(MemRefToLLVM)
add_subdirectory(MemRefToSPIRV)
Expand Down
19 changes: 0 additions & 19 deletions mlir/lib/Conversion/MathToXeVM/CMakeLists.txt

This file was deleted.

174 changes: 0 additions & 174 deletions mlir/lib/Conversion/MathToXeVM/MathToXeVM.cpp

This file was deleted.

Loading