Page MenuHomePhabricator

IBricchi (IBricchi)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 8 2022, 6:47 AM (16 w, 1 d)

Recent Activity

Thu, Mar 30

IBricchi added a comment to D146805: [Pass Builder] Allow Module Inliner for full lto.

ping

Thu, Mar 30, 7:57 AM · Restricted Project, Restricted Project

Mon, Mar 27

IBricchi updated the diff for D146805: [Pass Builder] Allow Module Inliner for full lto.

Oh I see. I was trying to copy over the changes from how it was done in the thinLTO pipeline, but you're right, I only really want the ModuleInlinerPass. I've updated the patch to reflect that.

Mon, Mar 27, 1:47 AM · Restricted Project, Restricted Project

Fri, Mar 24

mingmingl awarded D146805: [Pass Builder] Allow Module Inliner for full lto a Like token.
Fri, Mar 24, 11:29 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D146805: [Pass Builder] Allow Module Inliner for full lto.

format

Fri, Mar 24, 8:05 AM · Restricted Project, Restricted Project
IBricchi updated the summary of D146805: [Pass Builder] Allow Module Inliner for full lto.
Fri, Mar 24, 4:49 AM · Restricted Project, Restricted Project
IBricchi requested review of D146805: [Pass Builder] Allow Module Inliner for full lto.
Fri, Mar 24, 4:44 AM · Restricted Project, Restricted Project
IBricchi abandoned D146803: [Pass Builder] Allow Module Inliner for full lto.
Fri, Mar 24, 4:43 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D146803: [Pass Builder] Allow Module Inliner for full lto.
Fri, Mar 24, 4:42 AM · Restricted Project, Restricted Project
IBricchi requested review of D146803: [Pass Builder] Allow Module Inliner for full lto.
Fri, Mar 24, 4:36 AM · Restricted Project, Restricted Project

Wed, Mar 15

IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

Glad to hear that! Would you mind pushing the fix? I don't have commit access, thanks

Wed, Mar 15, 8:50 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

I think the issue was that:

Wed, Mar 15, 8:00 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.
Wed, Mar 15, 7:56 AM · Restricted Project, Restricted Project
IBricchi reopened D140637: [InlineOrder] Plugin Inline Order.
Wed, Mar 15, 7:56 AM · Restricted Project, Restricted Project

Tue, Mar 14

IBricchi abandoned D139933: [InlineOrder] Add TopDownInlineOrder .
Tue, Mar 14, 3:21 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

I don't have commit access, could you commit it for me? ibricchi <ibricchi@student.ethz.ch>

Tue, Mar 14, 3:20 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.

Ignore tests on windows due to limited pluign suport

Tue, Mar 14, 2:11 AM · Restricted Project, Restricted Project

Mon, Mar 13

IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

Thanks for the suggestions

Mon, Mar 13, 6:46 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.
Mon, Mar 13, 6:45 AM · Restricted Project, Restricted Project

Fri, Mar 10

IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

Thanks for the review! I updated the patch to reflect the comments.

Fri, Mar 10, 10:57 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.
Fri, Mar 10, 10:53 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.
Fri, Mar 10, 10:22 AM · Restricted Project, Restricted Project

Wed, Mar 8

IBricchi added a reviewer for D140637: [InlineOrder] Plugin Inline Order: taolq.
Wed, Mar 8, 2:03 AM · Restricted Project, Restricted Project

Feb 28 2023

IBricchi added a comment to D140637: [InlineOrder] Plugin Inline Order.

ping

Feb 28 2023, 5:35 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140588: [unittest] Restructure plugin cmake target.

ping

Feb 28 2023, 5:34 AM · Restricted Project, Restricted Project

Feb 17 2023

IBricchi added a comment to D140588: [unittest] Restructure plugin cmake target.

I wanted to check again if someone could commit this for me since I don't have commit access
ibricchi <ibricchi@student.ethz.ch>

Feb 17 2023, 6:42 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140588: [unittest] Restructure plugin cmake target.

Implement fix for AIX cmake issue from https://reviews.llvm.org/D140559

Feb 17 2023, 6:41 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.

Implement fix for AIX cmake issue from https://reviews.llvm.org/D140559

Feb 17 2023, 4:31 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.

format

Feb 17 2023, 2:06 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.

rebase

Feb 17 2023, 1:49 AM · Restricted Project, Restricted Project

Feb 14 2023

IBricchi added a comment to D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

I don't have commit access, but if this looks good to you @Jake-Egan would you be able to commit the fix.

Feb 14 2023, 1:19 AM · Restricted Project, Restricted Project

Feb 1 2023

IBricchi updated the diff for D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

I'm not 100% sure on the overlap between the two conditions, I just went off what was there before I changed anything. But I've ammended the code to only check for AIX.

Feb 1 2023, 1:29 PM · Restricted Project, Restricted Project

Jan 30 2023

IBricchi added a comment to D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

This should address the -brtl failure

Jan 30 2023, 2:40 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.
Jan 30 2023, 2:39 AM · Restricted Project, Restricted Project
IBricchi reopened D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.
Jan 30 2023, 2:39 AM · Restricted Project, Restricted Project

Jan 20 2023

IBricchi added a comment to D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

Perfect, let me know when something comes up

Jan 20 2023, 2:30 AM · Restricted Project, Restricted Project

Jan 17 2023

IBricchi updated the diff for D140637: [InlineOrder] Plugin Inline Order.
Jan 17 2023, 1:57 AM · Restricted Project, Restricted Project

Jan 16 2023

IBricchi added a comment to D139933: [InlineOrder] Add TopDownInlineOrder .

Thanks for the review @hiraditya I've come to realize this patch might not fit well with the other inline-order options. Instead I think it might make more sense to implement the functionality using custom plugins.

Jan 16 2023, 4:15 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

Hi, sorry for the delay.

Jan 16 2023, 4:11 AM · Restricted Project, Restricted Project

Dec 23 2022

IBricchi published D140637: [InlineOrder] Plugin Inline Order for review.

This patch builds off https://reviews.llvm.org/D139644 to add plugin support for inline order. This should allow for full fine grained control of the inliner using plugins.

Dec 23 2022, 2:25 PM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

Adds the ability to load InlineAdvisors as plugins. This allows developing and distributing inlining heuristics outside of tree.

By the way, was there an RFC somewhere that discussed why this is a good thing for the project? (I have no opinion on this myself, but it clearly comes with a cost, so it'd be good if people working in this domain overall agreed that this is a good direction.)

BTW, was this ever answered?

Dec 23 2022, 10:21 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I am still seeing this linking error when building with LLVM_EXPORT_SYMBOLS_FOR_PLUGINS: /unittests/Analysis/InlineAdvisorPlugin.so: undefined symbol: _ZN4llvm13AllAnalysesOnINS_6ModuleEE6SetKeyEStack.

Dec 23 2022, 10:18 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140588: [unittest] Restructure plugin cmake target.

I don't have commit access, could one of you two commit this for me?

Dec 23 2022, 7:09 AM · Restricted Project, Restricted Project
IBricchi added inline comments to D140588: [unittest] Restructure plugin cmake target.
Dec 23 2022, 7:09 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140588: [unittest] Restructure plugin cmake target.

Add new line at end of files

Dec 23 2022, 1:00 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D140588: [unittest] Restructure plugin cmake target.

Move all cmake targets into their own subdirectory

Dec 23 2022, 12:59 AM · Restricted Project, Restricted Project
IBricchi added a comment to D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake.

Could one of you two push it for me, I don't have commit access.

Dec 23 2022, 12:35 AM · Restricted Project, Restricted Project

Dec 22 2022

IBricchi published D140588: [unittest] Restructure plugin cmake target for review.

I moved the plugins into their own directory similar to https://reviews.llvm.org/D140559.

Dec 22 2022, 2:40 PM · Restricted Project, Restricted Project
IBricchi published D140559: [InlineAdvisor] Restructure advisor plugin unittest cmake for review.
Dec 22 2022, 9:06 AM · Restricted Project, Restricted Project

Dec 19 2022

IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

The reason we went with this general structure for the cmake file is that the other unit tests that implement similar functionality implement it like this:

Dec 19 2022, 11:25 PM · Restricted Project, Restricted Project

Dec 17 2022

IBricchi added a comment to D140266: [InlineAdvisor] Fix dependencies for InlineAdvisorPlugin.

I don'ţhave commit access to llvm, so if you could commit it for me @akyrtzi that would be great.

Dec 17 2022, 11:49 PM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I've created a patch which should solve the issue.

Dec 17 2022, 3:35 PM · Restricted Project, Restricted Project
IBricchi set the repository for D140266: [InlineAdvisor] Fix dependencies for InlineAdvisorPlugin to rG LLVM Github Monorepo.
Dec 17 2022, 3:33 PM · Restricted Project, Restricted Project
IBricchi requested review of D140266: [InlineAdvisor] Fix dependencies for InlineAdvisorPlugin.
Dec 17 2022, 3:33 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 17 2022, 3:21 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 17 2022, 3:13 PM · Restricted Project, Restricted Project
IBricchi added inline comments to D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 17 2022, 11:25 AM · Restricted Project, Restricted Project
IBricchi added inline comments to D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 17 2022, 11:21 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 17 2022, 11:20 AM · Restricted Project, Restricted Project
IBricchi reopened D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 17 2022, 4:36 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I managed to re-create the error and I think it was caused by the order in which things were being built. I added a dependancy for the plugin so that Attributes.inc is ready by the time the plugin comes around to being built.

Dec 17 2022, 4:36 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 17 2022, 4:35 AM · Restricted Project, Restricted Project

Dec 16 2022

IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I tried and I couldn't replicate what you described. Would you be able to say what cmake options you're using so I can try those exactly

Dec 16 2022, 2:51 PM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

My bad, should be fixed now

Dec 16 2022, 2:10 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 16 2022, 2:10 PM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

Updated.
Author: ibricchi
Email: ibricchi@student.ethz.ch

Dec 16 2022, 1:39 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 16 2022, 1:38 PM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I don't have commit access to LLVM, would it be possible for you to commit it for me @mtrofin, or is there a different process I need to take?

Dec 16 2022, 11:54 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I must have missed that comment in my previous pass, I've now updated the llvm-config.h.cmake file

Dec 16 2022, 10:54 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 16 2022, 10:52 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

I think your suggestions make sense, I've updated the cmake file to address those points.

Dec 16 2022, 9:58 AM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 16 2022, 9:57 AM · Restricted Project, Restricted Project
IBricchi added reviewers for D139933: [InlineOrder] Add TopDownInlineOrder : kazu, taolq.
Dec 16 2022, 1:18 AM · Restricted Project, Restricted Project

Dec 15 2022

IBricchi updated the summary of D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 15 2022, 1:59 PM · Restricted Project, Restricted Project
IBricchi updated the diff for D139644: [InlineAdvisor] Allow loading advisors as plugins.

We cleaned up the cmake file so that it now compiles all the unit test under unified target and only setting the test plugin implementation as an optional source, and does the opposite for the test plugin target

Dec 15 2022, 1:43 PM · Restricted Project, Restricted Project

Dec 13 2022

IBricchi updated the diff for D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 13 2022, 8:59 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

Right I see, well there are two targets, the first is the unit tests which uses all the files except "InlineAdvisorPlugin.cpp", and then there's the target for the inlineAdvisorPlugin which only uses "InlineAdvisorPlugin.cpp", so for the first target we need "InlineAdvisorPlugin.cpp" in the optional source, and for the second target we need everything else.

Dec 13 2022, 8:53 AM · Restricted Project, Restricted Project
IBricchi requested review of D139933: [InlineOrder] Add TopDownInlineOrder .
Dec 13 2022, 6:58 AM · Restricted Project, Restricted Project
IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

The reason we need to do this is because otherwise we fail this check: https://github.com/llvm/llvm-project/blob/main/llvm/cmake/modules/LLVMProcessSources.cmake#L105

Dec 13 2022, 2:50 AM · Restricted Project, Restricted Project

Dec 10 2022

IBricchi added a comment to D139644: [InlineAdvisor] Allow loading advisors as plugins.

We will see if @phosek has time, but for context we imitated https://github.com/llvm/llvm-project/blob/main/llvm/unittests/Passes/CMakeLists.txt for the cmake changes.

Dec 10 2022, 10:37 AM · Restricted Project, Restricted Project

Dec 8 2022

IBricchi set the repository for D139644: [InlineAdvisor] Allow loading advisors as plugins to rG LLVM Github Monorepo.
Dec 8 2022, 9:19 AM · Restricted Project, Restricted Project
IBricchi requested review of D139644: [InlineAdvisor] Allow loading advisors as plugins.
Dec 8 2022, 9:19 AM · Restricted Project, Restricted Project