Skip to content

Commit

Permalink
[compiler] Bump xDSL to new pass pipeline (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
zero9178 authored Jun 28, 2024
1 parent 61ad419 commit efb4ad8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
./runtime/**/requirements.txt
./codegen/**/requirements.txt
./requirements.txt
./xdsl
./.git/modules/xdsl/HEAD
- name: Install minimum required cmake and ninja
uses: lukka/get-cmake@latest
Expand Down
11 changes: 4 additions & 7 deletions codegen/compiler/src/Quidditch/Conversion/ConvertToRISCV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,10 @@ ConvertToRISCV::convertToRISCVAssembly(MemRefMicrokernelOp kernelOp,
int ret = llvm::sys::ExecuteAndWait(
xDSLOptPath,
{xDSLOptPath, "-p",
"convert-linalg-to-memref-stream,memref-streamify,convert-"
"memref-stream-to-loops,scf-for-loop-flatten,"
"arith-add-fastmath,loop-hoist-memref,lower-affine,convert-memref-"
"stream-to-snitch,convert-func-to-"
"riscv-func,convert-memref-to-riscv,convert-arith-to-riscv,"
"convert-scf-to-riscv-scf,dce,reconcile-unrealized-casts,test-"
"lower-snitch-stream-to-asm",
"convert-linalg-to-memref-stream,"
"test-optimise-memref-stream," // NOLINT(*-suspicious-missing-comma)
"test-lower-memref-stream-to-snitch-stream,"
"test-lower-snitch-stream-to-asm",
"-t", "riscv-asm"},
std::nullopt, redirects);
if (ret != 0) {
Expand Down
2 changes: 1 addition & 1 deletion xdsl
Submodule xdsl updated 241 files

0 comments on commit efb4ad8

Please sign in to comment.