This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] Replace complex test-lower-to-nvvm by an explicit TD listing in transform-mma-sync-matmul-f32.mlir
AcceptedPublic

Authored by nicolasvasilache on Aug 11 2023, 8:12 AM.

Details

Summary

This allows exposing the full gpu device and host lowering pipelines in a single place.

Depends on: D157703

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Aug 11 2023, 8:12 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm added inline comments.Aug 25 2023, 3:28 AM
mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp
1520–1524

This is a problem: The code is adding an extension (registry.addExtension) as part of an extension. I haven't figured out the details yet, but this can cause a reallocation in the underlying extensions vector while it is being iterated over.

springerm commandeered this revision.Aug 25 2023, 7:22 AM
springerm edited reviewers, added: nicolasvasilache; removed: springerm.
springerm edited the summary of this revision. (Show Details)Aug 25 2023, 7:22 AM
springerm added inline comments.
mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp
1520–1524

fixed in D158838

(drive by comment)

mlir/lib/Dialect/Transform/IR/TransformOps.cpp
712 ↗(On Diff #553466)

Leftover debug

nicolasvasilache commandeered this revision.Aug 30 2023, 1:05 AM
nicolasvasilache edited reviewers, added: springerm; removed: nicolasvasilache.
springerm accepted this revision.Sep 4 2023, 4:31 AM
This revision is now accepted and ready to land.Sep 4 2023, 4:31 AM
nicolasvasilache marked an inline comment as done.
nicolasvasilache edited the summary of this revision. (Show Details)

Rebase