Add mlir-translate as an MLIR compiler (#6355)

This is already installed and provides a convenient way to convert MLIR
to LLVM IR.


---------

Co-authored-by: Patrick Quist <partouf@gmail.com>
This commit is contained in:
Benjamin Maxwell
2024-08-22 13:36:32 +01:00
committed by GitHub
parent 1234363d8e
commit 8c93efccc8
2 changed files with 19 additions and 11 deletions

View File

@@ -6,12 +6,17 @@ 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)
@@ -23,13 +28,6 @@ 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
group.mlirtranslate.compilers=mlirtranslate1400:mlirtranslate1405:mlirtranslate1600:mlirtranslatetrunk
group.mlirtranslate.isSemVer=true
group.mlirtranslate.baseName=MLIR Translate
group.mlirtranslate.licenseName=LLVM Apache 2
group.mlirtranslate.licenseLink=https://github.com/llvm/llvm-project/blob/main/mlir/LICENSE.TXT
group.mlirtranslate.licensePreamble=The LLVM Project is under the Apache License v2.0 with LLVM Exceptions
compiler.mlirtranslatetrunk.exe=/opt/compiler-explorer/mlir-trunk/bin/mlir-translate
compiler.mlirtranslatetrunk.semver=(trunk)
compiler.mlirtranslatetrunk.isNightly=true

View File

@@ -1,4 +1,4 @@
compilers=&mliropt
compilers=&mliropt:&mlirtranslate
defaultCompiler=mliropt14
compilerType=mlir
@@ -10,5 +10,15 @@ group.mliropt.compilers=mliropt14
group.mliropt.isSemVer=true
group.mliropt.baseName=MLIR opt
group.mlirtranslate.compilers=mlirtranslate14:mlirtranslatetrunk
group.mlirtranslate.isSemVer=true
group.mlirtranslate.baseName=MLIR translate
compiler.mliropt14.exe=/usr/bin/mlir-opt-14
compiler.mliropt14.semver=14.0.0
compiler.mlirtranslatetrunk.exe=/usr/bin/mlir-translate
compiler.mlirtranslatetrunk.semver=(trunk)
compiler.mlirtranslatetrunk.isNightly=true
compiler.mlirtranslate14.exe=/usr/bin/mlir-translate-14
compiler.mlirtranslate14.semver=14.0.0