This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVMIR] Apply CallOp/CallableInterface on suitable operations
ClosedPublic

Authored by myhsu on Jul 1 2022, 4:08 PM.

Details

Summary
  • Applying CallOpInterface on CallOp and InvokeOp.
  • Applying CallableInterface on LLVMFuncOp.

We're testing the changes using CallGraph, which uses both interfaces.

Diff Detail

Event Timeline

myhsu created this revision.Jul 1 2022, 4:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2022, 4:08 PM
myhsu requested review of this revision.Jul 1 2022, 4:08 PM
myhsu updated this revision to Diff 441807.Jul 1 2022, 4:14 PM

Add comments on some of the interface methods. NFC.

Mogball accepted this revision.Jul 2 2022, 9:48 PM
Mogball added inline comments.
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
903

Spell out the auto

This revision is now accepted and ready to land.Jul 2 2022, 9:48 PM
myhsu updated this revision to Diff 442329.Jul 5 2022, 9:25 AM
myhsu marked an inline comment as done.

Spell out auto types. NFC.
@Mogball thanks for the swift review btw.

This revision was landed with ongoing or failed builds.Jul 5 2022, 9:28 AM
This revision was automatically updated to reflect the committed changes.