Skip to content

Commit

Permalink
Update enzymexlamlir-opt.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Jan 12, 2025
1 parent 5f111f3 commit ac6a998
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/enzyme_ad/jax/enzymexlamlir-opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ int main(int argc, char **argv) {
PtrElementModel<LLVM::LLVMPointerType>>(*ctx);
LLVM::LLVMArrayType::attachInterface<PtrElementModel<LLVM::LLVMArrayType>>(
*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.
Expand Down

0 comments on commit ac6a998

Please sign in to comment.