This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fix canonicalizer crash for `linalg.generic` with mixed semantics
ClosedPublic

Authored by Hardcode84 on Oct 11 2022, 4:18 PM.

Details

Summary

EraseIdentityGenericOp for !hasBufferSemantics() assumed fully tensor semantics and tried to access non-existent return values.

Diff Detail

Event Timeline

Hardcode84 created this revision.Oct 11 2022, 4:18 PM
Hardcode84 requested review of this revision.Oct 11 2022, 4:18 PM
ftynse accepted this revision.Oct 17 2022, 3:47 AM
This revision is now accepted and ready to land.Oct 17 2022, 3:47 AM