This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Use SymbolUserOpInterface in LLVM::AddressOfOp verifier
ClosedPublic

Authored by ezhulenev on Aug 5 2022, 10:35 AM.

Diff Detail

Event Timeline

ezhulenev created this revision.Aug 5 2022, 10:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
ezhulenev requested review of this revision.Aug 5 2022, 10:35 AM
Mogball accepted this revision.Aug 5 2022, 10:40 AM

Thanks!

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
1744

Somewhat unrelated: these helpers should probably be removed because they're an easy performance trap.

This revision is now accepted and ready to land.Aug 5 2022, 10:40 AM
This revision was landed with ongoing or failed builds.Aug 5 2022, 10:51 AM
This revision was automatically updated to reflect the committed changes.
mehdi_amini added inline comments.Aug 8 2022, 1:27 AM
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
1744

+1

Alternatively I would take a SymbolTable as argument instead.