aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c/type.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2022-11-26 17:37:13 +0100
committerRobin Voetter <robin@voetter.nl>2023-04-09 01:51:49 +0200
commit3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c (patch)
treeacfe8f23d30ca6b08cef7d8615f3bd1b6bd80c5c /src/codegen/c/type.zig
parent39016948f068c52b3cec24cdfdf5882193ea09b9 (diff)
downloadzig-3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c.tar.gz
zig-3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c.zip
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.
Diffstat (limited to 'src/codegen/c/type.zig')
0 files changed, 0 insertions, 0 deletions