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

Update LLVM version to 34ddf0b2b040 #63

Merged
merged 5 commits into from
Jul 31, 2020

Conversation

stephenneuendorffer
Copy link
Contributor

A small fixup is required to avoid conflicts between ODS-generated build
methods because of default arguments.

@lattner
Copy link
Collaborator

lattner commented Jul 31, 2020

Feel free to land these without review @stephenneuendorffer :)

@stephenneuendorffer
Copy link
Contributor Author

stephenneuendorffer commented Jul 31, 2020

Feel free to land these without review @stephenneuendorffer :)

That was my plan but stuff is broken in the LLHDtoLLVM type conversion. It looks like the standard LLVM type converter is choking on an llhd.sig type whereas previously this passed through to the op conversion which handled the type conversion. @maerhart @fabianschuiki one of you is probably going to have to fix this up.

@maerhart
Copy link
Member

@rodonisi May I forward this to you as you are the author of the LLVM conversion pass?

@rodonisi
Copy link
Contributor

@rodonisi May I forward this to you as you are the author of the LLVM conversion pass?

Yep, building LLVM right now.

A small fixup is required to avoid conflicts between ODS-generated build
methods because of default arguments.  Also, since this keeps failing, I've
updated the llvm cache so that it runs in a separate job.  Otherwise the cache is not updated when the CIRCT build fails.
rodonisi added 3 commits July 31, 2020 11:56
Previously time constants were converted by their users, by creating a constant for each of the three time attributes. This makes time constants LLVM arrays containing the three time values instead, allowing more a more flexible use (e.g. passing time operands as block arguments).
* Add time type conversion.
* Add tme constants conversion.
* Add time operands to the process persistence state.
* Fix affected tests.
This works around the PartialConversion failing because of the introduction of (unused) `DialectCastOps`, that will be dealt with later during the full conversion.
@rodonisi
Copy link
Contributor

@stephenneuendorffer I opened a PR on this branch of your fork which should be passing the tests.

@stephenneuendorffer
Copy link
Contributor Author

@stephenneuendorffer I opened a PR on this branch of your fork which should be passing the tests.

Awesome! Thanks!

@stephenneuendorffer stephenneuendorffer merged commit ad07533 into llvm:master Jul 31, 2020
@stephenneuendorffer stephenneuendorffer deleted the llvm-update branch July 31, 2020 18:32
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.

4 participants