Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[InferAddressSpaces] Register pass. #65639

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Sep 7, 2023

InferAddressSpaces failed to call its initialization function. It was still called through initializeScalarOpts in llc and opt, but it was skipped entirely in clang. When the initialization function is not called, this results in confusing behavior where the pass appears to run, but not entirely as it should, e.g. the pass is excluded from -print-before-all and -print-after-all.

InferAddressSpaces failed to call its initialization function. It was
still called through initializeScalarOpts in llc and opt, but it was
skipped entirely in clang. When the initialization function is not
called, this results in confusing behavior where the pass appears to
run, but not entirely as it should, e.g. the pass is excluded from
-print-before-all and -print-after-all.
@hvdijk hvdijk requested a review from a team as a code owner September 7, 2023 16:54
@hvdijk hvdijk merged commit 04224d1 into llvm:main Sep 7, 2023
2 checks passed
@hvdijk hvdijk deleted the infer-register-pass branch September 7, 2023 20:35
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.

None yet

2 participants