Repository navigation
Tags
Tags
Integrate LLVM at llvm/llvm-project@85a7e596c0f0 Updates LLVM usage to match [85a7e596c0f0](llvm/llvm-project@85a7e59) PiperOrigin-RevId: 1019739113
Support precomputed estimator model protos in delay and area estimators. Generating C++ delay and area estimator lookup tables at build time via `generate_delay_lookup` and `generate_area_lookup` pulls Python curve-fitting dependencies (`scipy` and `numpy`) into the build graph of targets linking the XLS delay and area models. Add `CompiledEstimatorModel`, `CompiledOpModel`, and `CompiledEstimator` messages to `estimator_model.proto` to represent pre-fitted estimator parameters, along with `ProtoDelayEstimator` and `ProtoAreaEstimator` classes that evaluate embedded `.binpb` model protos directly at runtime. Update the `delay_model` and `area_model` Bazel macros to compile models into embedded binary protos via `generate_compiled_estimator_model`, accept an optional `precomputed_proto` file (with a `diff_test` keeping checked-in precomputed protos in sync and automatic updates in `rebuild_golden_files.sh`), and remove the obsolete `generate_delay_lookup` and `generate_area_lookup` C++ code generators. PiperOrigin-RevId: 1018870531
Update BddCsePass documentation comment. Refresh the Gemini-generated C++ header comment in `bdd_cse_pass.h` for `BddCsePass` to reflect its current implementation, and regenerate the pass documentation Markdown. PiperOrigin-RevId: 1016085393
Update RemoveIdentifiersPass documentation comment. Refresh the Gemini-generated C++ header comment in `remove_identifiers_pass.h` for `RemoveIdentifiersPass` to reflect its current implementation, and regenerate the pass documentation Markdown. PiperOrigin-RevId: 1015241186
[NFC] Expose node-scoped select merging and PrioritySelect duplicate … …case merging. Extract MergeSelectNode from SelectMergingPass and SimplifyPrioritySelectDuplicateCases from SelectSimplificationPass so callers that construct selects incrementally can invoke them on individual nodes without running a full function pass. PiperOrigin-RevId: 1005990194
Optimization to map updates in RemoveDuplicateParams() PiperOrigin-RevId: 1004361643
Use XLS_REGISTER_MODULE_INITIALIZER for codegen flags handler Also change the macro to use an unquoted name since that lets us use the module initializer which gives tracing improvements. Add small test for flag registry use. PiperOrigin-RevId: 1003504320
Declare the XLS[cc] __xls_memory size template parameter as int. - C++ non-type template deduction requires an exact type match, so functions templated on int N failed to deduce N when Size was unsigned long long. - Declaring Size as int in __xls_memory matches standard integer template parameters and memory aliases, allowing size deduction to succeed. - For example, template <int N> T Read(const __xls_memory<T, N>& mem, int i) can now be called directly with __xls_memory<T, 32> without specifying N. PiperOrigin-RevId: 1002706253
PreviousNext