#include "mlir/InitAllTranslations.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Tools/mlir-translate/MlirTranslateMain.h"
using namespace mlir;
namespace mlir {
void registerTestRoundtripSPIRV();
void registerTestRoundtripDebugSPIRV();
#ifdef MLIR_INCLUDE_TESTS
void registerTestToLLVMIR();
void registerTestFromLLVMIR();
#endif
}
static void registerTestTranslations() {
registerTestRoundtripSPIRV();
registerTestRoundtripDebugSPIRV();
#ifdef MLIR_INCLUDE_TESTS
registerTestToLLVMIR();
registerTestFromLLVMIR();
#endif
}
int main(int argc, char **argv) {
registerAllTranslations();
registerTestTranslations();
return failed(mlirTranslateMain(argc, argv, "MLIR Translation Testing Tool"));
}