spirv: add liveness checks

When a result of a pure instruction is not used, it also does not need to
be generated. The other backends already implement these checks, they were
ignored in SPIR-V up until now. New instructions added in the future should
have these be implemented from the start.
3c5ab4dd3dRobin Voetter committed on 4/8/2023, 11:51:49 PMparent3901694
1 file changedLine totals unavailable