KhronosGroup / KhronosGroup/SPIRV-Tools

spirv-reduce: Remove hints such as branch weights

Open
#3,766 0 comments 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

The reducer could:

- remove branch weights
- change loop, selection and function attributes from interesting things back to None
- remove memory operands such as Volatile and Nontemporal

etc.

At the moment these things get left behind, and can leave one wondering whether they are necessary for triggering a bug.

Contributor guide

Open the contributing guide

Research direction

Start with spirv-reduce and its existing handling of branch weights, loop, selection and function attributes, and memory operands such as Volatile and Nontemporal. Determine how these hints are represented during reduction and add coverage for removing them; done means reduced outputs no longer retain unnecessary hints while preserving the triggering bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.