Skip to content

Commit

Permalink
Revert "[mlir][spirv] Add a generic convert-to-spirv pass" (#96332)
Browse files Browse the repository at this point in the history
Reverts #95942 due to link failures.
  • Loading branch information
angelz913 authored Jun 21, 2024
1 parent 1eddf35 commit ecf2a53
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 967 deletions.
22 changes: 0 additions & 22 deletions mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.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 @@ -30,7 +30,6 @@
#include "mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRV.h"
#include "mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRVPass.h"
#include "mlir/Conversion/ConvertToLLVM/ToLLVMPass.h"
#include "mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h"
#include "mlir/Conversion/FuncToEmitC/FuncToEmitCPass.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h"
#include "mlir/Conversion/FuncToSPIRV/FuncToSPIRVPass.h"
Expand Down
12 changes: 0 additions & 12 deletions mlir/include/mlir/Conversion/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ def ConvertToLLVMPass : Pass<"convert-to-llvm"> {
];
}

//===----------------------------------------------------------------------===//
// ToSPIRV
//===----------------------------------------------------------------------===//

def ConvertToSPIRVPass : Pass<"convert-to-spirv"> {
let summary = "Convert to SPIR-V";
let description = [{
This is a generic pass to convert to SPIR-V.
}];
let dependentDialects = ["spirv::SPIRVDialect"];
}

//===----------------------------------------------------------------------===//
// AffineToStandard
//===----------------------------------------------------------------------===//
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 @@ -19,7 +19,6 @@ add_subdirectory(ControlFlowToLLVM)
add_subdirectory(ControlFlowToSCF)
add_subdirectory(ControlFlowToSPIRV)
add_subdirectory(ConvertToLLVM)
add_subdirectory(ConvertToSPIRV)
add_subdirectory(FuncToEmitC)
add_subdirectory(FuncToLLVM)
add_subdirectory(FuncToSPIRV)
Expand Down
22 changes: 0 additions & 22 deletions mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt

This file was deleted.

71 changes: 0 additions & 71 deletions mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp

This file was deleted.

218 changes: 0 additions & 218 deletions mlir/test/Conversion/ConvertToSPIRV/arith.mlir

This file was deleted.

Loading

0 comments on commit ecf2a53

Please sign in to comment.