This is an archive of the discontinued LLVM Phabricator instance.

[mlir][rocdl] Exposing buffer load/store intrinsic
ClosedPublic

Authored by jerryyin on May 19 2020, 1:18 PM.

Details

Summary
  • Updated ROCDLOps tablegen
  • Added parsing and printing function for new intrinsic
  • Added unit tests

Diff Detail

Event Timeline

jerryyin created this revision.May 19 2020, 1:18 PM
Herald added a project: Restricted Project. · View Herald Transcript
whchung added a project: Restricted Project.May 19 2020, 1:56 PM
jerryyin updated this revision to Diff 265045.May 19 2020, 2:35 PM

Fix lint error

whchung added inline comments.May 20 2020, 7:14 AM
mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
37

@jerryyin It seems this printing function is only used by ROCDL_MubufLoadOp, but no one else.

jerryyin updated this revision to Diff 265247.May 20 2020, 7:52 AM

Inline printIntrinsic function

jerryyin marked 2 inline comments as done.May 20 2020, 7:57 AM
jerryyin added inline comments.
mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
37

I have inlined it in the tablegen.

jerryyin marked an inline comment as done.May 20 2020, 7:57 AM
whchung accepted this revision.May 20 2020, 10:24 AM

Thanks!

This revision is now accepted and ready to land.May 20 2020, 10:24 AM
jerryyin closed this revision.May 21 2020, 7:27 AM

The CL has landed.