diff --git a/compiler/src/iree/compiler/DispatchCreation/Passes.cpp b/compiler/src/iree/compiler/DispatchCreation/Passes.cpp index d488fa531069..6f6152dc1848 100644 --- a/compiler/src/iree/compiler/DispatchCreation/Passes.cpp +++ b/compiler/src/iree/compiler/DispatchCreation/Passes.cpp @@ -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" @@ -22,12 +21,6 @@ namespace mlir::iree_compiler::DispatchCreation { // Command Line Options //===----------------------------------------------------------------------===// -static llvm::cl::opt 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 clEnableElementWiseFuseMultiReduction( "iree-dispatch-creation-element-wise-fuse-multi-reduction", llvm::cl::desc("Enable element-wise fusion of multi-reduction loop ops."), @@ -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) diff --git a/third_party/llvm-project b/third_party/llvm-project index 53227749bf9b..1e1471e16cab 160000 --- a/third_party/llvm-project +++ b/third_party/llvm-project @@ -1 +1 @@ -Subproject commit 53227749bf9bb2863165fd2d0a1a572d138c40b6 +Subproject commit 1e1471e16cabc7f268e693680139565818f69afa