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

Bump LLVM #6207

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Bump LLVM #6207

merged 1 commit into from
Sep 27, 2023

Conversation

rwy7
Copy link
Contributor

@rwy7 rwy7 commented Sep 27, 2023

There were three breaking changes in LLVM:

1: In the LLVM dialect, NullOp was replaced with a more general ZeroOp. See: llvm/llvm-project#67183.

2: AffineForOp's getInitOperands was renamed to getInits. See: llvm/llvm-project#66925.

3: In the SCF dialect, the WhileOp now implements LoopLikeOpInterface, which now supports multiple loop regions. The getLoopBody member-function was removed in favour of LoopLike's getLoopRegions. The While Op only has a single region, so we can replace calls to getLoopBody with getRegion. See: llvm/llvm-project#66754

There were three breaking changes in LLVM:

1: In the LLVM dialect, NullOp was replaced with a more general ZeroOp. See:
llvm/llvm-project#67183.

2: AffineForOp's getInitOperands was renamed to getInits. See:
llvm/llvm-project#66925.

3: In the SCF dialect, the WhileOp now implements LoopLikeOpInterface, which
now supports multiple loop regions. The getLoopBody member-function was removed
in favour of LoopLike's getLoopRegions.  The While Op only has a single region,
so we can replace calls to getLoopBody with getRegion. See:
llvm/llvm-project#66754
Copy link
Contributor

@mikeurbach mikeurbach left a comment

Choose a reason for hiding this comment

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

Thanks for the details, looks good to me.

@rwy7 rwy7 merged commit d64d0cb into llvm:main Sep 27, 2023
@rwy7 rwy7 deleted the bump-llvm branch September 27, 2023 16:15
mikeurbach pushed a commit that referenced this pull request Oct 2, 2023
There were three breaking changes in LLVM:

1: In the LLVM dialect, NullOp was replaced with a more general ZeroOp. See:
llvm/llvm-project#67183.

2: AffineForOp's getInitOperands was renamed to getInits. See:
llvm/llvm-project#66925.

3: In the SCF dialect, the WhileOp now implements LoopLikeOpInterface, which
now supports multiple loop regions. The getLoopBody member-function was removed
in favour of LoopLike's getLoopRegions.  The While Op only has a single region,
so we can replace calls to getLoopBody with getRegion. See:
llvm/llvm-project#66754
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.

2 participants