This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Remove dependency on omp dialect in LLVM dialect
ClosedPublic

Authored by jsjodin on May 30 2023, 12:38 PM.

Details

Summary

This fixes a buildbot failure where the dependency on the omp dialect
in the LLVM dialect caused error. Instead of accessing the interface
defined in the omp dialect we directly access the attributes
instead. To make this work the IsDeviceAttr is removed and replaced
with a BoolAttr instead.

Diff Detail

Event Timeline

jsjodin created this revision.May 30 2023, 12:38 PM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
jsjodin requested review of this revision.May 30 2023, 12:38 PM
This revision is now accepted and ready to land.May 30 2023, 2:31 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2023, 6:41 AM