[ORC] Add WaitingOnGraph record / replay facilities. (#185275)
WaitingOnGraph is critical to the performance of LLVM's JIT (see e.g.
https://github.com/llvm/llvm-project/issues/179611), and these facilities will
make it easier to capture and investigate test cases, and build a performance
regression suite.
WaitingOnGraph::OpRecorder provides an interface for classes that want to
capture the essential WaitingOnGraph operations: simplify-and-emit, and fail.
WaitingOnGraph::simplify and WaitingOnGraph::fail now take an optional
OpRecorder pointer.
WaitingOnGraphOpStreamRecorder (WaitingOnGraphOpReplay.h) is an OpRecorder
implementation that serializes operations to a line-oriented text format on a
raw_ostream. WaitingOnGraphOpReplay provides types and utilities for iterating
over and replaying recorded operations. readWaitingOnGraphOpsFromBuffer returns
an iterator range over the ops in a serialized buffer.
The new ExecutionSession::setWaitingOnGraphOpRecorder method can be used to
[8 lines not shown]
Reapply "AMDGPU: Annotate group size ABI loads with range metadata (#185420)" (#185588)
This reverts commit d5685ac6db0ae4cbca1745f18d8f2f7dc7d673a5.
Fix off by one error. The end of the range is open.
[clang-tidy] Fix false negatives in performance-faster-string-find with libstdc++ (#185559)
The check previously used a custom, heuristic-based matcher to avoid
matching inside uninstantiated generic templates. However, the matcher
caught the `SubstTemplateTypeParmType` from `libstdc++`, silencing valid
warnings.
This PR removes manual template filtering and uses
`TK_IgnoreUnlessSpelledInSource` instead.
As of AI Usage: Gemini 3 is used for pre-commit reviews.
Closes https://github.com/llvm/llvm-project/issues/182012
Reapply "AMDGPU: Annotate group size ABI loads with range metadata (#185420)"
This reverts commit d5685ac6db0ae4cbca1745f18d8f2f7dc7d673a5.
Fix off by one error. The end of the range is open.
[MLIR][LLVMIR] Preserve byval alignment in memcpy after inlining (#185433)
This PR adds alignment attributes to the generated memcpy intrinsics
after inlining functions with byval arguments.
py-python-discovery: updated to 1.1.2
1.1.2
docs: add package description and usage to README
fix(subprocess): drain pipes after killing timed-out process
fix(discovery): match prerelease versions against major.minor specs
py-puremagic: updated to 2.0.2
Version 2.0.2
- Fixing 137 passing non-existent filename to from_string()/from_stream() no longer raises FileNotFoundError (thanks to denisw)
Version 2.0.1
- Fixing 126 Python scanner false positives — now uses AST node walking instead of regex to verify real Python constructs (thanks to ahobson)
- Fixing 134 UTF-16 LE BOM (FF FE) no longer misidentified as .mp1 audio, added UTF-16 BOM detection to text scanner (thanks to tomazfs)
- Fixing 135 from_string(), from_stream(), magic_string(), and magic_stream() now perform deep scan when filename is provided (thanks to denisw)
Revert "[ASan] Enable Internalization for 'asanrtl.bc' in Driver (#18… (#185458)
…2825)"
Enabling internalization of `asanrtl.bc` breaks the asan reporting on
hip side , due to duplicate `__asan_report_XXX` calls in code object and
the llvm-ir.
This reverts commit dc26edd9b6602857b67f35c8d2f6fe4ed13c8137.