llvm/llvm-project

[DAG] Add computeKnownBits(FREEZE(X)) handling

Open

#161.642 aberto em 2 de out. de 2025

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)C++ (10.782 forks)batch import
good first issuellvm:SelectionDAG

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

Description

Similar to #161507 - add FREEZE handling to allow us to analyze demanded elements of a node through a FREEZE

The tricky bit will be to add test coverage - you will need a FREEZE node that can't be removed due to some elements possibly being undef/poison, but other elements that are not and have useful known bits data for a dependent node.

This might be easier once #161512 has landed.

Guia do colaborador