This is an archive of the discontinued LLVM Phabricator instance.

[mlir][gpu][spirv] Verify elementwise op type as mulf when converting to spirv.MatrixTimesScalar
ClosedPublic

Authored by qedawkins on Dec 14 2022, 6:41 PM.

Details

Summary

Conversion from gpu.subgroup_mma_constant_matrix to spirv.MatrixTimesScalar didn't check that the op type was a multiplication and thus would incorrectly convert other elementwise scalar operations.

Diff Detail

Event Timeline

qedawkins created this revision.Dec 14 2022, 6:41 PM
qedawkins requested review of this revision.Dec 14 2022, 6:42 PM
ThomasRaoux accepted this revision.Dec 14 2022, 6:46 PM
This revision is now accepted and ready to land.Dec 14 2022, 6:46 PM