Skip to content

Tags

Tags

v0.0.0-11232-g91bf81770

Toggle v0.0.0-11232-g91bf81770's commit message
Support decoupled proc state access in IR optimization passes.

Several IR optimization passes assumed coupled proc state lowering, where every
state element has a `StateRead` and every `Next` pairs with one. Under that
assumption, `ArrayUntuplePass` and `ProcStateNarrowingPass` skipped or failed on
zero-read state elements. `CanonicalizationPass` also kept always-false
`StateRead`s alive, while `ConditionalSpecializationPass` intersected
`StateRead` access conditions with `Next` predicates.

Support zero-read state elements in `ArrayUntuplePass` and
`ProcStateNarrowingPass`. Add `decouple_state_access` to
`OptimizationPassOptions` and `opt_main`, defaulting to false until Codegen
v1.5 scoreboarding lands. When enabled, `CanonicalizationPass` removes
always-false `StateRead`s. `ConditionalSpecializationPass` also specializes
`StateRead` predicates strictly from data uses, independent of pre-legalization
`eliminate_noop_next` cleanup.

PiperOrigin-RevId: 1028563699

v0.0.0-11217-gdb882ead6

Toggle v0.0.0-11217-gdb882ead6's commit message
Automated Code Change

PiperOrigin-RevId: 1027628634

v0.0.0-11216-gb16df3eda

Toggle v0.0.0-11216-gb16df3eda's commit message
Update SelectSimplificationPass and SelectRangeSimplificationPass doc…

…umentation comment.

Refresh the Gemini-generated C++ header comment in `select_simplification_pass.h` for `SelectSimplificationPass` and `SelectRangeSimplificationPass` to reflect its current implementation, and regenerate the pass documentation Markdown.

PiperOrigin-RevId: 1027412303

v0.0.0-11212-ge35d6f9fe

Toggle v0.0.0-11212-ge35d6f9fe's commit message
Integrate LLVM at llvm/llvm-project@86801a03ccc8

Updates LLVM usage to match
[86801a03ccc8](llvm/llvm-project@86801a0)

PiperOrigin-RevId: 1026858368

v0.0.0-11194-g1743b6a7d

Toggle v0.0.0-11194-g1743b6a7d's commit message
Integrate LLVM at llvm/llvm-project@663f3fbeea72

Updates LLVM usage to match
[663f3fbeea72](llvm/llvm-project@663f3fb)

PiperOrigin-RevId: 1026074645

v0.0.0-11174-g32dc47058

Toggle v0.0.0-11174-g32dc47058's commit message
xls/solvers: Fix Z3 HandleMulp sort-width mismatch on truncating mult…

…iplies.

`z3::IrTranslator::HandleMulp` previously created its symbolic `offset`
constant with width `max(result_size, lhs_size, rhs_size)` even though `DoMul`
always returns a bit-vector of width `result_size` (`mul->width()`). Whenever a
`smulp` or `umulp` truncated to a width narrower than an operand, Z3 rejected
`Z3_mk_bvsub(result, offset)` and the resulting tuple construction with a sort
mismatch error.

Match `offset`'s bit-vector sort width to `result_size`:

* Construct `op_sort` with `result_size` in `IrTranslator::HandleMulp`.
* Add `Z3IrTranslatorTest.HandlesTruncatingUMulp` and
  `Z3IrTranslatorTest.HandlesTruncatingSMulp` covering mixed-width truncating
  partial-product multiplies.

PiperOrigin-RevId: 1025205428

v0.0.0-11160-gc49dbfadc

Toggle v0.0.0-11160-gc49dbfadc's commit message
Merge pull request #4176 from xlsynth:cdleary/2026-04-28-ohs-lowering

PiperOrigin-RevId: 1024340398

v0.0.0-11135-gb69b5ab85

Toggle v0.0.0-11135-gb69b5ab85's commit message
Move `refresh_compile_commands` out of root `BUILD`.

Move `refresh_compile_commands` into `//xls/dev_tools/compile_commands:refresh_compile_commands`
and keep an `alias` at `//:refresh_compile_commands` so loading `//:BUILD`
(for `//:LICENSE` or `//:license`) does not eagerly load the
`dev_dependency` `@hedron_compile_commands` for external Bzlmod consumers.

PiperOrigin-RevId: 1023420997

v0.0.0-11114-g37df26fa6

Toggle v0.0.0-11114-g37df26fa6's commit message
Integrate LLVM at llvm/llvm-project@bc0683cc7ba1

Updates LLVM usage to match
[bc0683cc7ba1](llvm/llvm-project@bc0683c)

PiperOrigin-RevId: 1022503860

v0.0.0-11112-gcf337d113

Toggle v0.0.0-11112-gcf337d113's commit message
Integrate LLVM at llvm/llvm-project@de574ff51d4f

Updates LLVM usage to match
[de574ff51d4f](llvm/llvm-project@de574ff)

PiperOrigin-RevId: 1021645246