Skip to content

[pull] swiftwasm from main #5534

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jun 19, 2023
Merged

[pull] swiftwasm from main #5534

merged 4 commits into from
Jun 19, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 19, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

nate-chandler and others added 4 commits June 17, 2023 16:04
The address checker records uses in its livenessUses map.  Previously,
that map mapped from an instruction to a range of fields of the type.
But an instruction can use multiple discontiguous fields of a single
value.  Here, such instructions are properly recorded by fixing the map
to store a bit vector for each instruction.

rdar://110676577
```
../include/swift/SIL/FieldSensitivePrunedLiveness.h:531:54: warning: 'hasValue' is deprecated: Use has_value instead. [-Wdeprecated-declarations]
  bool isInitialized() const { return numBitsToTrack.hasValue(); }
                                                     ^~~~~~~~
                                                     has_value
```
[MoveOnlyAddressChecker] Fix representation for used fields.
…617/1/fix-warning

Gardening: Silenced Optional::hasValue warning.
@kateinoigakukun kateinoigakukun merged commit 6aa2733 into swiftwasm Jun 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants