Skip to content

Integrate LLVM to llvm/llvm-project@3e61c1ab7f - #20015

Merged
lialan merged 2 commits into
mainfrom
users/lialan/llvm_integration_20250217
Feb 19, 2025
Merged

lialan merged 2 commits into
mainfrom
users/lialan/llvm_integration_20250217

Conversation

@lialan

@lialan lialan commented Feb 18, 2025 •

Copy link
Copy Markdown
Contributor

@lialan lialan changed the title Integrate LLVM at 0b8bd472b Integrate LLVM at 3e61c1ab7f Feb 19, 2025
@lialan
lialan force-pushed the users/lialan/llvm_integration_20250217 branch from 409a354 to 40104fc Compare February 19, 2025 17:53
@lialan
lialan force-pushed the users/lialan/llvm_integration_20250217 branch from f3067dc to c24ba9e Compare February 19, 2025 21:07
Signed-off-by: Alan Li <[email protected]>
@lialan
lialan force-pushed the users/lialan/llvm_integration_20250217 branch from c24ba9e to 79e983c Compare February 19, 2025 21:34
@lialan
lialan marked this pull request as ready for review February 19, 2025 22:11
@lialan
lialan enabled auto-merge (squash) February 19, 2025 22:12
@ScottTodd
ScottTodd disabled auto-merge February 19, 2025 22:13
Comment on lines -22 to +23
// CHECK: tensor.pack
// CHECK: tensor.unpack
// CHECK: linalg.pack
// CHECK: linalg.unpack

@ScottTodd ScottTodd Feb 19, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please call out large changes like these in the PR description with some context? A link to the upstream commit (llvm/llvm-project@517800e, https://github.com/llvm/llvm-project/commit/517800e37e8d3a4ee84214bef65e227612c2a98b) would be ideal.

We don't have a PR template for LLVM integrates but here's what we usually look for:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ahh didn't know that you can save a click by putting llvm/llvm-project@3e61c1ab7f in the title. Thanks for the tip.

I also updated the PR title and the descriptions.

Comment on lines 525 to 526
// Cases of trivial pack/unpack should be handled as canonicalizations
// before we get here, thus we're safe to always hoist.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: this comment should be moved up to the linalg section since the pack/unpack ops are no longer in tensor.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think even the name HoistableLinalgOpInterfaceHelper needs to be updated as well because it is no longer linalg specific.

@lialan lialan changed the title Integrate LLVM at 3e61c1ab7f Integrate LLVM at llvm/llvm-project@3e61c1ab7f Feb 19, 2025
@lialan lialan changed the title Integrate LLVM at llvm/llvm-project@3e61c1ab7f Integrate LLVM to llvm/llvm-project@3e61c1ab7f Feb 19, 2025
@lialan
lialan merged commit c8ba691 into main Feb 19, 2025
@lialan
lialan deleted the users/lialan/llvm_integration_20250217 branch February 19, 2025 22:43
bjacob added a commit that referenced this pull request Feb 19, 2025
[MLIR] Fix rewrite of ops with vector operands to LLVM on GPU.

llvm/llvm-project#127844

Previously cherry-picked in #20031
and then dropped in #20015.

Needed by the just-merged #19969.

Signed-off-by: Benoit Jacob <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
This PR contains the following change:
* Update LLVM to llvm/llvm-project@3e61c1ab7f
* Changes necessary for llvm/llvm-project#123902
, originally from: #19993
* Renaming changes to accommodate upstream changes.

---------

Signed-off-by: Alan Li <[email protected]>
Co-authored-by: Quinn Dawkins <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
[MLIR] Fix rewrite of ops with vector operands to LLVM on GPU.

llvm/llvm-project#127844

Previously cherry-picked in #20031
and then dropped in #20015.

Needed by the just-merged #19969.

Signed-off-by: Benoit Jacob <[email protected]>
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.

3 participants