Skip to content

Conversation

mgcarrasco
Copy link
Contributor

This PR prevents the IRMutator from incorrectly calling functions that have ABI attributes, otherwise the mutations introduce UB.

@jmmartinez jmmartinez requested a review from DataCorrupted May 13, 2025 14:17
We make those cases unsupported as it happens now for functions accepting metadata or token types.
@mgcarrasco mgcarrasco force-pushed the pr/ir-mutator-abi-attr branch from 317e2ee to 728c8bc Compare June 5, 2025 13:38
@mgcarrasco
Copy link
Contributor Author

mgcarrasco commented Jun 5, 2025

@DataCorrupted Thanks for the feedback. The PR has been updated addressing the comment.

@DataCorrupted DataCorrupted merged commit 8a386fe into llvm:main Jun 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants