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

move ir node defs into subpackage of ir #14783

Merged
merged 1 commit into from
Jan 28, 2025
Merged

move ir node defs into subpackage of ir #14783

merged 1 commit into from
Jan 28, 2025

Conversation

patrick-schultz
Copy link
Collaborator

@patrick-schultz patrick-schultz commented Jan 13, 2025

Change Description

Move the definitions of the IR nodes from package ir into a subpackage ir.defs. I originally did this to prepare for codegenerating the node definitions. While I don't think it was necessary in the end, I still think this is a beneficial change, as the ir package has become a big pile of different functionality, and it would be good to start breaking it up.

Security Assessment

  • This change has no security impact

Impact Description

Non-functional change, only changes the java package paths of some classes.

(Reviewers: please confirm the security impact before approving)

@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch from 005d23f to 52033ec Compare January 14, 2025 22:11
@patrick-schultz patrick-schultz force-pushed the ps/ir-defs branch 2 times, most recently from 520608e to 9c1ca69 Compare January 17, 2025 19:46
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch from 52033ec to 2d1ab3b Compare January 17, 2025 19:46
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch 2 times, most recently from 17b9cdd to b64f011 Compare January 21, 2025 15:43
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch from b64f011 to b4c7447 Compare January 21, 2025 16:23
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch from b4c7447 to 93620ef Compare January 21, 2025 21:02
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch from 93620ef to e0b9c06 Compare January 22, 2025 17:04
@patrick-schultz patrick-schultz force-pushed the ps/ir-defs branch 2 times, most recently from 006a931 to 14a2222 Compare January 22, 2025 17:49
@patrick-schultz patrick-schultz force-pushed the ps-12-17-move_mill_modules_into_subdirectory branch 3 times, most recently from fcb6c23 to b9fe4aa Compare January 24, 2025 19:24
Base automatically changed from ps-12-17-move_mill_modules_into_subdirectory to main January 24, 2025 20:33
@patrick-schultz patrick-schultz marked this pull request as ready for review January 28, 2025 16:14
Copy link
Member

@ehigham ehigham left a comment

Choose a reason for hiding this comment

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

All moves, seems like a reasonable change

Copy link
Collaborator

@chrisvittal chrisvittal left a comment

Choose a reason for hiding this comment

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

Just a move. No real changes. LGTM

sealed trait TypedIR[T <: Type] extends IR {
override def typ: T = tcoerce[T](super.typ)
}
package defs {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess I still don't understand scala style. Why have an inline package like this?

@hail-ci-robot hail-ci-robot merged commit 99a6884 into main Jan 28, 2025
4 checks passed
@hail-ci-robot hail-ci-robot deleted the ps/ir-defs branch January 28, 2025 20:12
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