Skip to content

Commit 37073c4

Browse files
committed
review changes
1 parent bb4a3d1 commit 37073c4

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ if(TRITON_SHARED_BUILD_CPU_BACKEND)
2222
MLIRReconcileUnrealizedCasts
2323
MLIRSCFToControlFlow
2424

25-
# ! transforms
2625
MLIRBufferizationTransforms
2726
MLIRArithTransforms
2827
MLIRMemRefTransforms
@@ -43,10 +42,7 @@ if(TRITON_SHARED_BUILD_CPU_BACKEND)
4342
MLIRVectorToSCF
4443
TPtrToLLVM
4544
MLIRUBToLLVM
46-
# MLIRMathToLibm
4745

48-
49-
PRIVATE
5046
Python3::Module
5147
pybind11::headers
5248
${Python3_LIBRARIES}

include/triton-shared/Conversion/TPtrToLLVM/Passes.td

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@ include "mlir/Pass/PassBase.td"
55

66
def TPtrToLLVM : Pass<"tptr-to-llvm", "mlir::ModuleOp"> {
77
let summary = "Convert Tptr operations into LLVM";
8-
let options = [
9-
// Option<"addptrToLLVM", "ptradd-to-llvm", "bool", /*default*/"true",
10-
// "Convert tptr.ptradd on tensors to llvm">,
11-
// Option<"fromMemrefToLLVM", "from-memref-to-llvm", "bool", /*default*/"true",
12-
// "Convert tptr.from_memref on tensors to llvm">,
13-
// Option<"toMemrefToLLVM", "to-memref-to-llvm", "bool", /*default*/"true",
14-
// "Convert tptr.to_memref on tensors to llvm">,
15-
// Option<"typeoffsetToConst", "typeoffset-to-const", "bool", /*default*/"true",
16-
// "Convert tptr.typeoffset to llvm.mlir.const">,
17-
];
188
let dependentDialects = ["mlir::tptr::TPtrDialect", "mlir::LLVM::LLVMDialect"];
199
}
2010
#endif

include/triton-shared/Conversion/TPtrToLLVM/TPtrToLLVM.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ namespace mlir {
1010
namespace tptr {
1111

1212
#define GEN_PASS_DECL
13-
// #define GEN_PASS_CLASSES
14-
// #define GEN_PASS_DECL_TPTRTOLLVM
15-
// #define GEN_PASS_DEF_TPTRTOLLVM
1613
#include "triton-shared/Conversion/TPtrToLLVM/Passes.h.inc"
17-
18-
// void populateTPtrToLLVMCanonicalizationPatterns(RewritePatternSet &patterns);
19-
2014
void populateTPtrToLLVMConversionPatterns(RewritePatternSet &patterns,
2115
TypeConverter &typeconverter);
2216

0 commit comments

Comments
 (0)