Skip to content

Commit

Permalink
Internal Fixups Internal Fixups
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 362416102
  • Loading branch information
joker-eph authored and copybara-github committed Mar 12, 2021
1 parent 2aa4b97 commit 88b47eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transforms/lowering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LowerToLLVMPass : public LowerToLLVMBase<LowerToLLVMPass> {
patterns.insert<LowerUndef>(converter);

LLVMConversionTarget target(getContext());
target.addLegalOp<mlir::ModuleOp, mlir::ModuleTerminatorOp>();
target.addLegalOp<mlir::ModuleOp>();
target.addIllegalDialect<SairDialect>();
if (failed(applyFullConversion(module, target, std::move(patterns)))) {
signalPassFailure();
Expand Down

0 comments on commit 88b47eb

Please sign in to comment.