KhronosGroup / KhronosGroup/SPIRV-Tools

Add convenience methods for creating ir::Operand, e.g. ir::Operand::CreateIntLiteral ir::Operand::CreateId

Open
#741 0 comments 0 reactions 0 assignees View on GitHub
component:optimization enhancement
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

E.g. see discussion in https://github.com/KhronosGroup/SPIRV-Tools/pull/701 in GenACLoadRepl

Contributor guide

Open the contributing guide

Research direction

Read the discussion in pull request 701, focusing on GenACLoadRepl, then trace the existing ir::Operand construction and uses. Determine the requested convenience methods, including CreateIntLiteral and CreateId, and confirm the API scope and expected behavior before implementing and testing them.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.