diff --git a/src/enzyme_ad/jax/enzymexlamlir-opt.cpp b/src/enzyme_ad/jax/enzymexlamlir-opt.cpp index 63e757a1..420d5580 100644 --- a/src/enzyme_ad/jax/enzymexlamlir-opt.cpp +++ b/src/enzyme_ad/jax/enzymexlamlir-opt.cpp @@ -114,12 +114,6 @@ int main(int argc, char **argv) { PtrElementModel>(*ctx); LLVM::LLVMArrayType::attachInterface>( *ctx); - - // This is very stupid but we need it because the SROAWrappers pass does a - // round trip to LLVM and the translation from LLVMIR to MLIR loads all - // available dialects and doing that in a pass is forbidden. Preload them - // here. - // ctx->loadAllAvailableDialects(); }); // Transform dialect and extensions.