This is an archive of the discontinued LLVM Phabricator instance.

Fix crash in LLVM Dialect inliner interface: add support for llvm.return
ClosedPublic

Authored by mehdi_amini on Jan 17 2023, 12:31 AM.

Details

Summary

The LLVM inliner was missing the handleTerminator method in the
Dialect interface implementation.

Fixes #60093

Diff Detail

Event Timeline

mehdi_amini created this revision.Jan 17 2023, 12:31 AM
mehdi_amini requested review of this revision.Jan 17 2023, 12:31 AM
ftynse accepted this revision.Jan 17 2023, 1:00 AM
ftynse added inline comments.
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
2868–2869

Nit: ///

This revision is now accepted and ready to land.Jan 17 2023, 1:00 AM