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

Add support for specifying the AA pipeline. #439

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Add support for specifying the AA pipeline. #439

merged 1 commit into from
Aug 14, 2024

Conversation

maleadt
Copy link
Owner

@maleadt maleadt commented Aug 8, 2024

Example:

@dispose ctx=Context() pb=NewPMPassBuilder() begin
    @dispose pb=NewPMPassBuilder(;debug_logging=true) mod=test_module() begin
        add!(pb, NewPMAAManager()) do aa
            add!(aa, "basic-aa")
        end
        add!(pb, "aa-eval")

        @test run!(pb, mod) === nothing
    end
end

Fixes #436
x-ref https://discourse.llvm.org/t/newpm-c-api-questions/80598

@maleadt
Copy link
Owner Author

maleadt commented Aug 8, 2024

@maleadt maleadt marked this pull request as ready for review August 8, 2024 14:03
@maleadt
Copy link
Owner Author

maleadt commented Aug 8, 2024

@maleadt
Copy link
Owner Author

maleadt commented Aug 8, 2024

Lets wait with merging this until llvm/llvm-project#102482 lands.

@maleadt maleadt marked this pull request as draft August 8, 2024 14:45
@wsmoses
Copy link
Contributor

wsmoses commented Aug 8, 2024

oh that's nice, I am glad to be mistaken

@maleadt maleadt marked this pull request as ready for review August 14, 2024 08:21
@maleadt maleadt merged commit 818b082 into master Aug 14, 2024
20 checks passed
@maleadt maleadt deleted the tb/aamanager branch August 14, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for custom alias analysis pass pipeline in new pm
2 participants