[MLIR][XeGPU] Do not use ocloc lib if LLVM_BUILD_LLVM_DYLIB is ON (#193259)
This fixes LLVM dylib build in environments with installed ocloc.
The problem is that LLVM shared lib is never linked with ocloc and the
linker fails to resolve the symbols `oclocInvoke` and `oclocFreeOutput`.
[libc] Fix .params file generation for integration tests (#193544)
Update add_integration_test to include loader arguments in the .params
file. The lit format already supported three-part .params files, but
add_integration_test was only generating two parts.
[NFC][ADT] Make a few functions constexpr (#193302)
So we can use them in static_asserts in #192862.
It converts what ever is trivially possible. In future more can
be converted as well, if we constexpr fetch32/fetch64.
---------
Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
[ELF] Factor linker-script dispatch loops into helpers. NFC (#193547)
Extract the per-token dispatch inside readLinkerScript, readSections,
readOutputSectionDescription, and readMemory into four new helpers.
Preparatory for making INCLUDE run a nested parse (#193427).
[RISCV] Expand vp.fshl, vp.fshr (#193225)
It looks like we never implemented custom lowering for the corresponding
ISD nodes so these were always just expanded by expandVPFunnelShift.
[Support][JSON] Use `std::unordered_map` for object storage (#171230)
`llvm::DenseMap` is not suitable for the key-value `Storage` inside
`llvm::json::Object`. Use `std::unordered_map` instead to optimize
memory usage.
`llvm::DenseMap` is optimized for mapping small keys and values
(pointers), and it pre-allocates 64 buckets by default.
`llvm::json::ObjectKey` is 24 bytes in size, and `llvm::json::Value` is
40 bytes. Currently, the JSON parser allocates 4KB of memory for each
JSON object. In practice, most JSON objects contain only a handful of
fields, and likely to have lists of many small objects. This is a
significant waste of memory.
Assisted-by: Claude Code (claude-opus-4-6)
[lldb] add terminfo name (#191740)
Fixes #191532
This PR just adds terminfo next to tinfo in FindCursesAndPanel.cmake
since NetBSD uses a separate library terminfo that LLDB’s CMake did not
look for (see #191532).
build.7: Improve make delete-old example
Be more explicit that deleting old files and libraries needs to be
really after you're rebooted a third time and you're really actually
sure your applications aren't using old libs, following irc discussion.
Also adjust an example slightly to fit on 80 character console.
MFC after: 3 days
Discussed with: emaste, fuz, jhb
Differential Revision: https://reviews.freebsd.org/D54079
[lldb/test] Fix BacktraceRecording path for Darwin embedded devices (NFC) (#193436)
rdar://172707080
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>