This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Harden gpu.func verification
ClosedPublic

Authored by csigg on Aug 23 2022, 1:31 AM.

Details

Summary

GPUFuncOpLowering moves the body out of gpu.func op and erases it. An empty gpu.func may fail verification but should not crash it. Verification of an erased op is triggered e.g. with debug printing on.

Diff Detail

Event Timeline

csigg created this revision.Aug 23 2022, 1:31 AM
csigg requested review of this revision.Aug 23 2022, 1:31 AM
akuegel accepted this revision.Aug 23 2022, 1:33 AM
This revision is now accepted and ready to land.Aug 23 2022, 1:33 AM
csigg updated this revision to Diff 454775.Aug 23 2022, 3:46 AM

Format.

This revision was landed with ongoing or failed builds.Aug 23 2022, 5:58 AM
This revision was automatically updated to reflect the committed changes.