-
Notifications
You must be signed in to change notification settings - Fork 593
[torch-mlir] Bump LLVM to llvm/llvm-project@fc83eda4 #3282
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
Conversation
arghhh, it looks like that (at least some of) those warnings are turned into errors.... |
I fixed all the real errors, and fixed a lot of deprecated warning = error in most header files; fixing this in all cpp files seems a bit too daunting right now (and I cannot come up with an easy find/sed solution for this either). So I propose to have the warning != error for a bit, so this can go in, and fixing it can be done in a more manageable way. |
I'm surprised that this PR isn't running into the same error as @jpienaar 's #3279 ,
Maybe it's just because the current warnings-as-errors stop compilation before getting there? In case you do run into this here, see the explanation: #3279 (comment) |
Ah. very well possible that we never reach that point. I did fix some output checks with output shape (see e.g. flatten.mlir), so it definitely is at the same problematic update of MLIR. Anyway, I am a bit stuck with this bump and could use some help (fixing the deprecations, or temporarily allowing me to remove the warning=error setting [which probably will run into jpienaar's issue first then]) |
I think it's great you fixed the deprecated warnings. We could land those even without a llvm rev bump and so make the rev bump simpler. There is a lowering TOSA to Tensor side that is shown by one of the PyTorch tests, but could be a upstream change. I don't think torch-mlir bumps allow for cherry picks LLVM side, so it's probably up and through ;-) |
Started a new integrate #3300, not yet wrapping the fixes from this PR but maybe we'll need to carry over some of the things you did here. For the deprecated declaration though, this is just disabling the warning. |
Great, I will wait for that and see if we still want to salvage this PR (or start a new one)... |
Looks like Benoit is already working on a much more recent sha, so closing this PR. |
(1) this brings in all "warnings" introduced in llvm/llvm-project#90413 (to be fixed by community)
(2) all errors due to new tosa int_div have been fixed
(3) all errors due to tensor output shape have been fixed