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
10 changes: 0 additions & 10 deletions compiler/src/iree/compiler/DispatchCreation/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "iree/compiler/Dialect/Util/Transforms/Passes.h"
#include "iree/compiler/Utils/PassUtils.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/Linalg/Passes.h"
#include "mlir/Pass/PassOptions.h"
#include "mlir/Pass/PassRegistry.h"
#include "mlir/Transforms/Passes.h"
Expand All @@ -22,12 +21,6 @@ namespace mlir::iree_compiler::DispatchCreation {
// Command Line Options
//===----------------------------------------------------------------------===//

static llvm::cl::opt<bool> clDetensoring(
"iree-dispatch-creation-enable-detensoring",
llvm::cl::desc(
"Enable changing of tensor operations into scalar operations."),
llvm::cl::init(false));

static llvm::cl::opt<bool> clEnableElementWiseFuseMultiReduction(
"iree-dispatch-creation-element-wise-fuse-multi-reduction",
llvm::cl::desc("Enable element-wise fusion of multi-reduction loop ops."),
Expand Down Expand Up @@ -165,9 +158,6 @@ static void addDispatchRegionCreationPreprocessingPasses(
DispatchCreation::createFuseMultiUseElementwiseProducerPass)

// 6. Some more "post elementwise fusion passes".
// a. Detensorize.
// TODO: This is probably not in the right place.
.addPredicatedPass(clDetensoring, mlir::createLinalgDetensorizePass)
.addPass(IREE::Flow::createCanonicalizePass)
.addPass(mlir::createCSEPass)

Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 476 files
Loading