Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mlir-translate as an MLIR compiler #6355

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 19 additions & 4 deletions etc/config/mlir.amazon.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
compilers=&mliropt
compilers=&mliropt:&mlirtranslate
defaultCompiler=mliropt1600
compilerType=mlir

supportsBinary=false
supportsExecute=false
supportsAsmDocs=false

licenseName=LLVM Apache 2
licenseLink=https://github.com/llvm/llvm-project/blob/main/mlir/LICENSE.TXT
licensePreamble=The LLVM Project is under the Apache License v2.0 with LLVM Exceptions

group.mliropt.compilers=mliropt1400:mliropt1405:mliropt1600:mliropttrunk
group.mliropt.isSemVer=true
group.mliropt.baseName=MLIR opt
group.mliropt.licenseName=LLVM Apache 2
group.mliropt.licenseLink=https://github.com/llvm/llvm-project/blob/main/mlir/LICENSE.TXT
group.mliropt.licensePreamble=The LLVM Project is under the Apache License v2.0 with LLVM Exceptions

group.mlirtranslate.compilers=mlirtranslate1400:mlirtranslate1405:mlirtranslate1600:mlirtranslatetrunk
group.mlirtranslate.isSemVer=true
group.mlirtranslate.baseName=MLIR translate

compiler.mliropttrunk.exe=/opt/compiler-explorer/mlir-trunk/bin/mlir-opt
compiler.mliropttrunk.semver=(trunk)
Expand All @@ -22,3 +27,13 @@ compiler.mliropt1405.exe=/opt/compiler-explorer/mlir-14.0.5/bin/mlir-opt
compiler.mliropt1405.semver=14.0.5
compiler.mliropt1400.exe=/opt/compiler-explorer/mlir-14.0.0/bin/mlir-opt
compiler.mliropt1400.semver=14.0.0

compiler.mlirtranslatetrunk.exe=/opt/compiler-explorer/mlir-trunk/bin/mlir-translate
compiler.mlirtranslatetrunk.semver=(trunk)
compiler.mlirtranslatetrunk.isNightly=true
compiler.mlirtranslate1600.exe=/opt/compiler-explorer/mlir-16.0.0/bin/mlir-translate
compiler.mlirtranslate1600.semver=16.0.0
compiler.mlirtranslate1405.exe=/opt/compiler-explorer/mlir-14.0.5/bin/mlir-translate
compiler.mlirtranslate1405.semver=14.0.5
compiler.mlirtranslate1400.exe=/opt/compiler-explorer/mlir-14.0.0/bin/mlir-translate
compiler.mlirtranslate1400.semver=14.0.0
9 changes: 8 additions & 1 deletion etc/config/mlir.defaults.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
compilers=&mliropt
compilers=&mliropt:&mlirtranslate
defaultCompiler=mliropt14
compilerType=mlir

Expand All @@ -10,5 +10,12 @@ group.mliropt.compilers=mliropt14
group.mliropt.isSemVer=true
group.mliropt.baseName=MLIR opt

group.mlirtranslate.compilers=mlirtranslate14
group.mlirtranslate.isSemVer=true
group.mlirtranslate.baseName=MLIR translate

compiler.mliropt14.exe=/usr/bin/mlir-opt-14
compiler.mliropt14.semver=14.0.0

compiler.mlirtranslate14.exe=/usr/bin/mlir-translate-14
compiler.mlirtranslate14.semver=14.0.0