This is an archive of the discontinued LLVM Phabricator instance.

[mlir][SerializeToHsaco] Minimize dependencies of AMDGPU compilation
ClosedPublic

Authored by krzysz00 on Nov 15 2022, 8:40 AM.

Details

Summary

The SerializeToHsaco uses functions from ExecutionEngineUtils to set
up LLVM pass pipelines, but does not otherwise depend on the execution
engine (except indirectly via a dependency on IPO). This commit
removes the dependency on the execution engine to prevent
unnecessarily compilations.

Diff Detail

Event Timeline

krzysz00 created this revision.Nov 15 2022, 8:40 AM
krzysz00 requested review of this revision.Nov 15 2022, 8:40 AM
ThomasRaoux accepted this revision.Nov 15 2022, 8:51 AM
This revision is now accepted and ready to land.Nov 15 2022, 8:51 AM
This revision was landed with ongoing or failed builds.Nov 15 2022, 12:31 PM
This revision was automatically updated to reflect the committed changes.