This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Widen SDValue::NumValues/NumOperands type
DraftPublic

Authored by fzhinkin on Dec 15 2022, 8:48 AM.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Summary

Changed SDValue::NumValues and SDValue::NumOperands type from
unsigned short to unsigned to match the type of SDVTList::NumVTs
and allow creation of nodes with larger values count.

Fields were reordered to preserve SDValue size on 64-bit platforms.

Related issue: https://github.com/llvm/llvm-project/issues/55737

Diff Detail

Event Timeline

fzhinkin created this revision.Dec 15 2022, 8:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 8:48 AM
Herald added a subscriber: ecnelises. · View Herald Transcript