KhronosGroup / KhronosGroup/SPIRV-Tools

Add utility function "merge block (id) if any" methods to BasicBlock

Open
#717 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

Used in several of the mem2reg passes

Contributor guide

Open the contributing guide

Research direction

Start by locating BasicBlock and the mem2reg passes that currently need to merge a block by ID when one exists. Identify the repeated lookup-and-merge behavior and determine the utility method names and signatures that fit BasicBlock. Done means the methods support those mem2reg callers without changing their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.