llvm/llvm-project
Vedi su GitHub[DAG] Add MVT:changeVectorElementCount and EVT::changeVectorElementCount
Open
#174.584 aperta il 6 gen 2026
good first issuellvm:SelectionDAG
Metriche repository
- Star
- (26.378 star)
- Metriche merge PR
- (Merge medio 1g 2h) (1000 PR mergiate in 30 g)
Descrizione
Similar to EVT::changeVectorElementType - but this will allow us to adjust the ElementCount on the fly.
We should assert that the original type was a vector already, but we will need to support Simple<->Extended transitions similar to EVT::changeVectorElementType.
There are a number of EVT::getVectorVT() calls in DAGCombine that would benefit from converting to changeVectorElementCount for clarity, but don't attempt to do too many in an initial patch