This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Fix extended insts deserialization generation
ClosedPublic

Authored by kdobros on Sep 30 2020, 5:46 PM.

Details

Summary

This change replaces container used for storing temporary strings for generated code to std::list.
SmallVector may reallocate internal data, which will invalidate references when more than one extended instruction set is generated.

Diff Detail

Event Timeline

kdobros created this revision.Sep 30 2020, 5:46 PM
kdobros requested review of this revision.Sep 30 2020, 5:46 PM
antiagainst accepted this revision.Oct 1 2020, 8:22 AM
This revision is now accepted and ready to land.Oct 1 2020, 8:22 AM

Hi @antiagainst,
Could you merge on my behalf? I don't have write access.

Hi @antiagainst,
Could you merge on my behalf? I don't have write access.

Courtesy ping.
This change is rather important for me, it's blocking my next patch with few OpenCL extended instructions.
Could you help me with this?

mravishankar accepted this revision.Oct 5 2020, 9:56 PM

Oops, sorry this slipped my attention list. Will land shortly.

This revision was automatically updated to reflect the committed changes.