Skip to content

Commit 779e97d

Browse files
committed
try to fix CPU
Signed-off-by: hanhanW <hanhan0912@gmail.com>
1 parent 4c1bb13 commit 779e97d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • compiler/src/iree/compiler/Codegen/LLVMCPU

compiler/src/iree/compiler/Codegen/LLVMCPU/Passes.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,8 @@ static void addLowerToLLVMPasses(OpPassManager &modulePassManager,
482482
modulePassManager.addPass(createLowerUKernelOpsToCallsPass());
483483

484484
FunctionLikeNest(modulePassManager)
485+
// Decompose vectorized+bufferized map_store ops before lowering to loops.
486+
.addPass(IREE::LinalgExt::createDecomposeMapStorePass)
485487
// LinalgExt -> SCF
486488
.addPass(IREE::LinalgExt::createLinalgExtToLoopsPass)
487489
// Linalg -> SCF

0 commit comments

Comments
 (0)