bootgrid: replace 'append' with 'replace' for ajax: false grids
Noticed while documenting.
replaceData() is a lot more performant through Tabulator, and since
there are only 3 callers and all of them expect a clear before
updating any data, use a replace instead.
In time these pages should use the default search endpoint anyway,
but this requires an API change.
make sure to keep the append() function for compatibility
[ORC] Simplify DylibManager::lookupSymbols, remove LookupRequest. (#197626)
DylibManager::lookupSymbols used to take an array of LookupRequests,
where each request specified a handle and list of symbols to lookup
within that handle.
This commit replaces the array of lookup requests with a single handle
and list of symbols passed directly to lookupSymbols.
In practice all clients were passing a singlton array anyway, and
simplifying this signature significantly simplifies implementations.
[LLVM-Flang] Improve the realloc size for the write statement (#187662)
Information:
The "buffer_" is used to store data in memory, and then the entire
"buffer_" is written at once using the Write(..) function. Consider a
write statement inside the nested implied do loop, the buffer_ size
keeps increasing when the length exceeds the buffer size. To increase
the size, we need to reallocate memory by copying the entire buffer into
a new buffer. This process consumes more time.
Implementation:
By reducing the number of reallocations, the performance could be
improved. Initially, we increase the size linearly, i.e., +65536 for
every new allocation. Then, when we cross 1 MB of buffer size, we
increase the size geometrically, i.e., 2x. Later, for more than 64MB, we
do 1.5x.
Issue: https://github.com/llvm/llvm-project/issues/163945
[Flang][OpenMP] Support iterator modifiers in map and motion clauses
Support iterated array elements and array sections in map and motion clauses for
target data, target enter data, target exit data, and target update constructs.
Preserve mapper resolution for iterated entries, including explicit mappers,
user-defined default mappers, declare mapper entries, and implicit default
mappers.
This PR stacked on top of #197047 and #197752.
This patch is part of the feature work for #188061.
Assisted with copilot.
[mlir][complex] Emit fma for contracted complex.mul lowering (#196248)
When complex.mul has fastmath<contract>, lower it using explicit fused
multiply-add operations for the real and imaginary components.
The lowering changes from:
real = ar * br - ai * bi
imag = ai * br + ar * bi
expressed as mul/sub/add, to:
real = fma(ar, br, -(ai * bi))
imag = fma(ar, bi, ai * br)
This is only applied when contraction is allowed. Non-contracted
complex.mul
continues to lower to separate fmul/fsub/fadd operations.
Fixed: https://github.com/llvm/llvm-project/issues/196246
[clangd][Lex][NFC] Use valid non-ASCII identifiers in tests (#197826)
Several tests used "ab🙂cd" / "🙂cd" as multi-byte UTF-8 example
identifiers. The smiley, however, is not actually among the allowed
identifier characters, and Clang only accepts it as an extension (with a
warning).
Switch to identifiers that are valid per [lex.name]:
- "naïve", with a non-ASCII char in the middle of the identifier,
- "æon", with a non-ASCII char at the start of the identifier,
- "café", with a non-ASCII char at the end of the identifier.
The 2-byte characters are handled the same way as the original 4-byte
emoji; no functional change here.
[flang][OpenMP][NFC] Share declare mapper helpers for iterator modifier lowering
Move mapper lookup and implicit default mapper creation into reusable
OpenMP lowering helpers so regular map lowering and iterator-generated
map entries can use the same resolution path.
This prepares Flang iterator modifier lowering for map and motion clauses
without changing the generated IR for existing non-iterator maps.
py-django-treebeard: updated to 5.1.0
Treebeard 5.1.0 is a bugfix release.
Fixed add_child and add_sibling behaviour for inherited models using NS_Node.
Improved query efficiency for AL Trees, for several query operations.
Added a parent param to MP_Node.find_problems to allow inspecting only a portion of a tree.
Added a find_problems method to NS_Node to identify issues with nested sets.
Made license notices for code adapted from third party libraries explicit.
[AMDGPU] Fix waterfall inreg call args -- AGPR sources legalized for `V_READFIRSTLANE_B32` instr (#194890)
#146997 introduced waterfall loop to handle illegal copies from
non-uniform sources. The logic resulted in the issue:
In cases where the register class is `AV`, the waterfall pumped that
operand straight into `v_readfirstlane_b32` and `v_cmp_eq_u32`, but
those instructions cannot read an AGPR. When the allocator picked an
AGPR, the verifier rejected the result.
Changes made: Copy the AGPR value to a VGPR register class before the
waterfall reads it.
Fixes LCOMPILER-2045.