Skip to content

[INTEGRATION] Bump llvm to 0f3ca6bb9 - #24390

Merged
lialan merged 3 commits into
mainfrom
users/lialan/integrate_20260507
May 7, 2026
Merged

lialan merged 3 commits into
mainfrom
users/lialan/integrate_20260507

Conversation

@lialan

@lialan lialan commented May 7, 2026 •

Copy link
Copy Markdown
Contributor

Updated code base to accomondate 2 upstream llvm changes:

Also updated stablehlo and torch-mlir for the interface changes.

lialan added 3 commits May 7, 2026 05:07
* Convert `/*closedUB=*/true` (and the mis-named `/*closedLB=*/true`)
  call sites to `ValueBoundsOptions{/*closedUB=*/true}`.
* Drop the `/*addConservativeSemiAffineBounds=*/true` arg in
  CombineLayoutTransformation.cpp; the diff expression has no
  semi-affine modulo so the flag had no effect.
…eaks

LLVM commit 0ff5c32c2821 ("[mlir] Use custom mlir::Complex type for
non-float complex numbers") changed the `DenseElementsAttr::get` /
`SplatElementsAttr::get` / `getValues<...>` complex overloads to use
`mlir::Complex<T>` instead of `std::complex<T>`. For `T = APFloat`,
`mlir::Complex<T>` resolves to `NonFloatComplex<T>`.

Bump:
- `third_party/stablehlo` to iree-org/stablehlo@28549ef5
  (`mlir::Complex<APFloat>` migration in StablehloLegalizeDeprecatedOps,
  StablehloAggressiveFolder, and Tensor.cpp).
- `third_party/torch-mlir` to iree-org/torch-mlir@7a0cd117
  (`mlir::Complex<APFloat>` migration in TorchToLinalg/Linear.cpp,
  externals/llvm-project bumped to 0f3ca6bb9ca5, externals/stablehlo
  re-pointed at iree-org/stablehlo@28549ef5).

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the stablehlo and torch-mlir changes are about integrate? Can you carry the information in the PR description?

@lialan

lialan commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

@hanhanW done!

@krzysz00

krzysz00 commented May 7, 2026

Copy link
Copy Markdown
Contributor

I'll take the followup of enabling non-index support once this lands

@lialan
lialan marked this pull request as ready for review May 7, 2026 19:56
@lialan
lialan merged commit fac9d3d into main May 7, 2026
94 of 98 checks passed
@lialan
lialan deleted the users/lialan/integrate_20260507 branch May 7, 2026 19:56
RattataKing pushed a commit to RattataKing/iree that referenced this pull request May 27, 2026
Updated code base to accomondate 2 upstream llvm changes:
* llvm/llvm-project#196082 : update
`ValueBoundsOpInterface` options struct.
* llvm/llvm-project#191821 : introduced
`mlir::Complex<T>` for non-float complex.

Also updated stablehlo and torch-mlir for the interface changes.
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