Skip to content

C++: Get rid of an unnecessary indirection lower bound in isDef - #23263

Draft
MathiasVP wants to merge 2 commits into
github:mainfrom
MathiasVP:fix-array-store-indirection
Draft

MathiasVP wants to merge 2 commits into
github:mainfrom
MathiasVP:fix-array-store-indirection

Conversation

@MathiasVP

Copy link
Copy Markdown
Contributor

On main we have an ugly asymmetry between isDef (which has a special-case for AarrayTypes hidden inside the getMinIndirectionsForType predicate) and isUse (which uses no such predicate).

It turns out the inclusion of this predicate in isDef was incorrect and the tests were incorrectly labeled. Luckily, fixing this asymmetry fixes the tests as well.

@MathiasVP MathiasVP added no-change-note-required This PR does not need a change note C++ labels Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant