KhronosGroup / KhronosGroup/SPIRV-Tools

Reduction pass idea: remove naming and decoration instructions

Open
#2,116 1 comment 0 reactions 0 assignees View on GitHub
component:reducer
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

From @s-perron in https://github.com/KhronosGroup/SPIRV-Tools/pull/2056#discussion_r235055237:

"Decoration and OpName instruction are considered uses of an id. They could force lots of code to stick around that is not needed to reproduce the problem."

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked pull request discussion and locating the reduction pass that treats OpName and Decoration instructions as uses of an ID. Determine the intended behavior for removing those instructions while preserving the reduced reproduction; the issue provides no named files or tests, so completion criteria need clarification first.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.