Skip to content

LLVM update 43d71ba #3086

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

Open
wants to merge 68 commits into
base: main
Choose a base branch
from
Open

Conversation

brnorris03
Copy link
Collaborator

@brnorris03 brnorris03 commented Feb 21, 2025

@brnorris03 brnorris03 changed the title Llvm update 0e779ad LLVM update 0e779ad Feb 21, 2025
@brnorris03
Copy link
Collaborator Author

@AlexandreEichenberger -- this seems like a rather large update, so I could use some help. There were a lot of TOSA dialect changes, and I am going through lit tests now and updating them (no problems there so far) -- should be done today hopefully. The check-onnx-numerical also passes.

However, most of the backend tests fail, e.g., in the check-onnx-backend-constant, and I am not sure what the best way is to investigate these failures.

Signed-off-by: Boyana Norris <[email protected]>
Signed-off-by: Boyana Norris <[email protected]>
Signed-off-by: Boyana Norris <[email protected]>
Signed-off-by: Boyana Norris <[email protected]>
Signed-off-by: Boyana Norris <[email protected]>
Signed-off-by: Boyana Norris <[email protected]>
@AlexandreEichenberger
Copy link
Collaborator

@jorickert thanks for helping with the TOSA related updates.
@brnorris03 if you feel that there are issues that are not TOSA related and you need further help, I am back at work and would be happy to help.

@brnorris03
Copy link
Collaborator Author

@jorickert thanks for helping with the TOSA related updates. @brnorris03 if you feel that there are issues that are not TOSA related and you need further help, I am back at work and would be happy to help.

Thanks! I did have everything passing locally, but the stablehlo build failed CI. So I updated the llvm and stablehlo versions again, which brought in another pile of TOSA changes; everything builds but I have not had a chance to update all the lit tests yet.

@brnorris03 brnorris03 changed the title LLVM update 0e779ad LLVM update 43d71ba Mar 3, 2025
@Sunny-Anand
Copy link
Collaborator

@brnorris03 we are creating a new release for onnx-mlir, 0.5.0 and would like to hold off on the llvm-stablehlo upgrade for now. FYI @AlexandreEichenberger

@brnorris03
Copy link
Collaborator Author

@brnorris03 we are creating a new release for onnx-mlir, 0.5.0 and would like to hold off on the llvm-stablehlo upgrade for now. FYI @AlexandreEichenberger

What does that mean exactly? Wait and rebase later? Or close this and let someone else redo later? It's a huge update because of the TOSA changes, so I am probably not going to have time to do another one from scratch.

@Sunny-Anand
Copy link
Collaborator

@brnorris03 Yeah, let's wait and attempt to merge into the main after 0.5.0 is created, I expect it to be in the next 1-2 weeks. Hopefully that will not block this pr.

@Sunny-Anand
Copy link
Collaborator

@brnorris03 0.5.0 branch is created. Pls feel free to merge this pr now into main if done. Thanks for your patience.

jorickert and others added 17 commits May 9, 2025 00:44
…stead of using the calculated numerator/denominator

Signed-off-by: Rickert, Jonas <[email protected]>
Signed-off-by: logeshwaranmcw <[email protected]>
Co-authored-by: Alexandre Eichenberger <[email protected]>
* changes

Signed-off-by: Chen Tong <[email protected]>

* format

Signed-off-by: Chen Tong <[email protected]>

* linkage

Signed-off-by: Chen Tong <[email protected]>

* lib

Signed-off-by: Chen Tong <[email protected]>

---------

Signed-off-by: Chen Tong <[email protected]>
Signed-off-by: Tung D. Le <[email protected]>
@tungld tungld force-pushed the llvm-update-0e779ad branch from a656f29 to 0c5b71b Compare May 9, 2025 04:46
@tungld
Copy link
Collaborator

tungld commented May 9, 2025

@jorickert I fixed some errors on Jenkins Linux s390x.

I also attempted to fix the DCO issue due to some commits not being signed off, but I haven't succeeded yet. If you know how to resolve this, please do so. Otherwise, we may need to force it to pass by pressing the 'Set DCO Pass' button.

Copy link
Collaborator

@tungld tungld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@tungld tungld marked this pull request as ready for review May 9, 2025 08:22
@jorickert
Copy link
Collaborator

@tungld Thanks for making this work on s390x.

Regarding the DCO check. According to the instructions in https://hackmd.io/@James-Ebert/HyYOcRAXo it is possible to update them via rebase, but as multiple commits have wrong/missing signoff this could be a bit difficult (and I'm not really comfortable with adjusting the Signoff of commits that are not from me).

@AlexandreEichenberger
Copy link
Collaborator

Let me know if its ready to merge @jorickert

Copy link
Collaborator

@jorickert jorickert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks to everyone helping with this bump

@AlexandreEichenberger
Copy link
Collaborator

@brnorris03 are you fine with this PR being merged?

@jorickert
Copy link
Collaborator

@brnorris03 Could you please take a look if this PR is fine for you, so we can merge it? Thank you

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.