Open antiagainst opened 5 years ago
https://github.com/google/clspv/blob/master/lib/RewriteInsertsPass.cpp in clspv can serve as an example.
@antiagainst @MaheshRavishankar according to this task, CompositeInsert
and CompositeConstruct
are not implemented yet, does anyone work on adding this instructions or I can take it?
Thanks!
SGTM. Please feel free to pick it up! Thanks! :)
@antiagainst does anyone have plans for this task?
Hey @denis0x0D, I don't think so. Please feel free to take it if you are interested. :)
@antiagainst thanks!
Sometimes we will see the following code pattern
for composite types.
The above can be converted into a
To simplify the code and remove undef.