User Details
- User Since
- Dec 8 2022, 6:47 AM (16 w, 1 d)
Thu, Mar 30
ping
Mon, Mar 27
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.
Fri, Mar 24
format
Wed, Mar 15
Glad to hear that! Would you mind pushing the fix? I don't have commit access, thanks
I think the issue was that:
Tue, Mar 14
I don't have commit access, could you commit it for me? ibricchi <ibricchi@student.ethz.ch>
Ignore tests on windows due to limited pluign suport
Mon, Mar 13
Thanks for the suggestions
Fri, Mar 10
Thanks for the review! I updated the patch to reflect the comments.
Wed, Mar 8
Feb 28 2023
ping
ping
Feb 17 2023
I wanted to check again if someone could commit this for me since I don't have commit access
ibricchi <ibricchi@student.ethz.ch>
Implement fix for AIX cmake issue from https://reviews.llvm.org/D140559
Implement fix for AIX cmake issue from https://reviews.llvm.org/D140559
format
rebase
Feb 14 2023
I don't have commit access, but if this looks good to you @Jake-Egan would you be able to commit the fix.
Feb 1 2023
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.
Jan 30 2023
This should address the -brtl failure
Jan 20 2023
Perfect, let me know when something comes up
Jan 17 2023
Jan 16 2023
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.
Hi, sorry for the delay.
Dec 23 2022
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.
I don't have commit access, could one of you two commit this for me?
Add new line at end of files
Move all cmake targets into their own subdirectory
Could one of you two push it for me, I don't have commit access.
Dec 22 2022
I moved the plugins into their own directory similar to https://reviews.llvm.org/D140559.
Dec 19 2022
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 17 2022
I don'ţhave commit access to llvm, so if you could commit it for me @akyrtzi that would be great.
I've created a patch which should solve the issue.
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 16 2022
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
My bad, should be fixed now
Updated.
Author: ibricchi
Email: ibricchi@student.ethz.ch
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?
I must have missed that comment in my previous pass, I've now updated the llvm-config.h.cmake file
I think your suggestions make sense, I've updated the cmake file to address those points.
Dec 15 2022
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 13 2022
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.
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 10 2022
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.