LLVM/project 1d48322compiler-rt/test/asan/TestCases/Windows rtlsizeheap_zero.cpp

[ASan] [Windows] Fix a new test in mingw mode

The new test case added in 781719778003ca298ca57e486ab629b7f384844b
didn't work in mingw mode; defines set through `/D` only works when
using the clang-cl compiler driver, not the regular clang compiler
driver.

Switch this to use `-D`, which works with both plain clang and
clang-cl, so we don't need to use a lit macro for expanding
the right option to use.
DeltaFile
+1-1compiler-rt/test/asan/TestCases/Windows/rtlsizeheap_zero.cpp
+1-11 files

LLVM/project caf2a48llvm/test/Transforms/LoopVectorize/VPlan vplan-sink-scalars-and-merge.ll vplan-printing-before-execute.ll, llvm/test/Transforms/LoopVectorize/VPlan/X86 vplan-vp-intrinsics.ll

[VPlan] Use -vplan-print-after in more VPlan tests

use vplan-print-after instead of -debug/-debug-only in more tests,
auto-generate some checks.
DeltaFile
+1,000-715llvm/test/Transforms/LoopVectorize/VPlan/vplan-sink-scalars-and-merge.ll
+84-77llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-before-execute.ll
+2-2llvm/test/Transforms/LoopVectorize/VPlan/X86/vplan-vp-intrinsics.ll
+1-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-predicate-switch.ll
+1-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-iv-transforms.ll
+1-1llvm/test/Transforms/LoopVectorize/VPlan/uncountable-early-exit-vplan.ll
+1,089-7976 files not shown
+1,095-80312 files

LLVM/project 03471delldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add extended variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_extended_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include extended variables or not and leave comments explaining the decision.

As a consequence of producing extended variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no extended variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+42-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+40-10lldb/source/API/SBFrame.cpp
+30-11lldb/source/Commands/CommandObjectFrame.cpp
+27-7lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/include/lldb/Target/StackFrame.h
+15-2lldb/source/Target/StackFrame.cpp
+170-407 files not shown
+205-5613 files

LLVM/project aecc499lld/ELF Relocations.cpp InputSection.cpp, lld/ELF/Arch PPC64.cpp

[ELF] Add target-specific relocation scanning for PPC64 (#181496)

Implement PPC64::scanSectionImpl, following the pattern established for
x86. This merges the getRelExpr and TLS handling for SHF_ALLOC sections
into the target-specific scanner, enabling devirtualization and
eliminating abstraction overhead.

- Inline relocation classification into scanSectionImpl with a switch
  on relocation type, replacing the generic rs.scan() path.
- Use processR_PC/processR_PLT_PC for common PC-relative and PLT
  relocations.
- Handle TLS GD, LD, and DTPREL directly, eliminating
  handleTlsRelocation, getTlsGdRelaxSkip, and adjustTlsExpr overrides.
  Use handleTlsIe for TLS IE, enabling IE-to-LE optimization even when
  ppc64DisableTLSRelax is set (lifted a limitation from
  the workaround patch https://reviews.llvm.org/D92959).
- Use processAux for R_PPC64_PCREL_OPT. Remove the PPC64-specific
  special case from process().
- Replace RE_PPC64_RELAX_GOT_PC with R_RELAX_GOT_PC, which computes

    [5 lines not shown]
DeltaFile
+276-194lld/ELF/Arch/PPC64.cpp
+16-28lld/ELF/Relocations.cpp
+30-6lld/test/ELF/ppc64-tls-missing-gdld.s
+0-2lld/ELF/InputSection.cpp
+0-2lld/ELF/Relocations.h
+322-2325 files

LLVM/project cd38f84llvm/test/Transforms/LoopVectorize smax-idx.ll epilog-iv-select-cmp.ll

[LV] Add argmin test for epilogue vectorization w/o wide canonical IV.

Add additional epilogue vectorization test coverage for
https://github.com/llvm/llvm-project/pull/170223.

Also regenerate check lines for related tests.
DeltaFile
+169-16llvm/test/Transforms/LoopVectorize/smax-idx.ll
+96-12llvm/test/Transforms/LoopVectorize/epilog-iv-select-cmp.ll
+265-282 files

LLVM/project 8074a07lldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add extended variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_extended_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include extended variables or not and leave comments explaining the decision.

As a consequence of producing extended variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no extended variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+40-10lldb/source/API/SBFrame.cpp
+42-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+30-11lldb/source/Commands/CommandObjectFrame.cpp
+27-7lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/include/lldb/Target/StackFrame.h
+15-2lldb/source/Target/StackFrame.cpp
+170-407 files not shown
+205-5613 files

LLVM/project 8b4485flldb/include/lldb lldb-enumerations.h, lldb/include/lldb/API SBVariablesOptions.h

[lldb] Scaffolding for extended variable support.

This patch handles most of the scaffolding for extended variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch extended variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be 'extended', which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing extended variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.

stack-info: PR: https://github.com/llvm/llvm-project/pull/181500, branch: users/bzcheeseman/stack/8
DeltaFile
+19-2lldb/source/API/SBVariablesOptions.cpp
+10-2lldb/source/Interpreter/OptionGroupVariable.cpp
+5-0lldb/include/lldb/lldb-enumerations.h
+4-0lldb/include/lldb/API/SBVariablesOptions.h
+1-0lldb/include/lldb/Interpreter/OptionGroupVariable.h
+39-45 files

LLVM/project 846e022lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptInterpreterPythonInterfaces.cpp

[lldb] NFC: Use standard comment for lldb-python.h include (#181498)

## Summary
Use the standard `// LLDB Python header must be included first.` comment
to match every other Python interface `.cpp` file in this directory, as
suggested by @JDevlieghere.

## Test plan
NFC - comment only change.

Co-authored-by: Rahul Reddy Chamala <rachamal at meta.com>
DeltaFile
+1-2lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
+1-21 files

LLVM/project 7b052c4.github/workflows build-libc-container.yml

[Github][libc] Also build arm container (#181497)

Some of the libc full build tests also run on AArch64 machines. We need
to build an ARM container or otherwise the container fails to start and
we never end up running anything.
DeltaFile
+6-1.github/workflows/build-libc-container.yml
+6-11 files

LLVM/project de4f473lldb/source/Interpreter ScriptInterpreter.cpp, lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptedPythonInterface.cpp

[lldb] Fix Windows linker error for MakeSBModuleSpec in lldb-server (#181494)

## Summary
Move the definition of `ScriptInterpreter::MakeSBModuleSpec` from
`ScriptInterpreter.cpp` to `ScriptedPythonInterface.cpp`.

`MakeSBModuleSpec` constructs an `SBModuleSpec`, whose symbols live in
the API library (`liblldb`). `ScriptInterpreter.cpp` is part of
`lldbInterpreter`, which is also linked into `lldb-server` — and
`lldb-server` does not link the API library. On Windows, this causes
`LNK2019: unresolved external symbol` for `SBModuleSpec`'s constructor
and destructor.

`ScriptedPythonInterface.cpp` is part of the Python plugin library,
which only links into `liblldb` where the API symbols are available. The
method retains friend access to `SBModuleSpec` since it is still a
member of `ScriptInterpreter` regardless of which `.cpp` file defines
it.


    [5 lines not shown]
DeltaFile
+10-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
+0-6lldb/source/Interpreter/ScriptInterpreter.cpp
+10-62 files

LLVM/project 0773c83lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptInterpreterPythonInterfaces.cpp

[lldb] Fix pid_t redefinition on Windows in ScriptInterpreterPythonInterfaces (#181493)

## Summary
Include `lldb-python.h` as the first include inside the
`LLDB_ENABLE_PYTHON` block in `ScriptInterpreterPythonInterfaces.cpp`,
matching the pattern used by every other Python interface `.cpp` file in
this directory.

On Windows, `lldb-python.h` defines `NO_PID_T` before including
`Python.h`. This prevents `PosixApi.h` (transitively included via
`lldb-private.h`) from redefining `pid_t` with a conflicting type
(`uint32_t` vs `int`).

The issue was introduced by #181334 (ScriptedSymbolLocator plugin),
which added a new header whose include chain transitively reaches
`PosixApi.h`.

Fixes Windows build failures on lldb-aarch64-windows, lldb-x86_64-win,
and lldb-remote-linux-win.

    [6 lines not shown]
DeltaFile
+4-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
+4-01 files

LLVM/project d7a24d3libcxx/include/__algorithm shift_right.h ranges_shift_right.h, libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.shift assert.shift_right.pass.cpp

[libc++] Implement `ranges::shift_right` (#177847)

Implement the `ranges::shift_right` algorithm from
[P2440R1](https://wg21.link/P2440R1).

Fixes #134062
Fixes #105184
DeltaFile
+307-0libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/ranges_shift_right.pass.cpp
+53-27libcxx/include/__algorithm/shift_right.h
+76-0libcxx/include/__algorithm/ranges_shift_right.h
+29-0libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.shift/assert.shift_right.pass.cpp
+4-4libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
+4-4libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+473-3512 files not shown
+501-4018 files

LLVM/project 02aa032lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptInterpreterPythonInterfaces.cpp

[lldb] Fix pid_t redefinition on Windows in ScriptInterpreterPythonInterfaces (#181492)

## Summary
- Move `#include "lldb/Core/PluginManager.h"` after `#include
"ScriptInterpreterPythonInterfaces.h"` so Python's `pyconfig.h` defines
`pid_t` before `PosixApi.h` gets included. This fixes the `C2371:
'pid_t': redefinition; different basic types` error on all Windows
builders.

Fixes CI failures from #181334 / #181488.

Co-authored-by: Rahul Reddy Chamala <rachamal at meta.com>
DeltaFile
+2-1lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
+2-11 files

LLVM/project 945db33lldb/include/lldb/Target Target.h, lldb/source/Target Target.cpp

[lldb] Fix Windows build and remote test failure for ScriptedSymbolLocator (#181488)

## Summary
- Move `GetScriptedSymbolLocatorClassName()` from inline in `Target.h`
to out-of-line in `Target.cpp` to avoid collision with Windows
`winuser.h` `#define GetClassName GetClassNameW` macro.
- Replace `LaunchSimple(None, None, os.getcwd())` with
`lldbutil.run_to_breakpoint_do_run()` in `test_locate_source_file` to
fix test failure on remote platforms where the local working directory
doesn't exist.

Fixes CI failures from #181334.

## Test plan
- [ ] Windows (aarch64-windows) build passes
- [ ] remote-linux-win test passes
- [ ] Existing ScriptedSymbolLocator tests pass on local platforms

Co-authored-by: Rahul Reddy Chamala <rachamal at meta.com>
DeltaFile
+3-5lldb/test/API/functionalities/scripted_symbol_locator/TestScriptedSymbolLocator.py
+1-5lldb/include/lldb/Target/Target.h
+6-0lldb/source/Target/Target.cpp
+10-103 files

LLVM/project 1ee03d1lldb/docs/use/tutorials scripted-symbol-locator.md, lldb/examples/python/templates scripted_symbol_locator.py

[lldb] Add ScriptedSymbolLocator plugin for source file resolution (#181334)

## Summary                                                        
                                                                    
Based on discussion from
[RFC](https://discourse.llvm.org/t/rfc-python-callback-for-source-file-resolution/83545),
this PR adds a new `SymbolLocatorScripted` plugin that allows Python
scripts to implement custom symbol and source file resolution logic.
This enables downstream users to build custom symbol servers, source
file remapping, and build artifact resolution entirely in Python.
                                                                    
  ### Changes

- Adds `LocateSourceFile()` to the SymbolLocator plugin interface,
called during source path resolution with a fully loaded `ModuleSP`, so
the plugin has access to the module's UUID, file paths, and symbols.
- Adds `SymbolLocatorScripted` plugin that delegates all four
SymbolLocator methods (`LocateExecutableObjectFile`,
`LocateExecutableSymbolFile`, `DownloadObjectAndSymbolFile`,

    [34 lines not shown]
DeltaFile
+220-0lldb/examples/python/templates/scripted_symbol_locator.py
+201-0lldb/source/Plugins/SymbolLocator/Scripted/SymbolLocatorScripted.cpp
+195-0lldb/test/API/functionalities/scripted_symbol_locator/TestScriptedSymbolLocator.py
+165-0lldb/docs/use/tutorials/scripted-symbol-locator.md
+130-0lldb/source/Commands/CommandObjectTarget.cpp
+120-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedSymbolLocatorPythonInterface.cpp
+1,031-041 files not shown
+1,798-1247 files

LLVM/project c472187llvm/include/llvm/CodeGen InlineAsmPrepare.h, llvm/lib/CodeGen InlineAsmPrepare.cpp CallBrPrepare.cpp

Revert "[Clang][inlineasm] Add special support for "rm" output constraints (#92040)"

This change landed without approval.

This reverts commit 45e666a8531c1148bdb170b9a120f99e1500c427.
This reverts commit a636dd4c37f12594275de2fe180ca35bc04d76ea.
DeltaFile
+0-1,307llvm/test/CodeGen/X86/asm-constraints-rm.ll
+0-619llvm/lib/CodeGen/InlineAsmPrepare.cpp
+252-0llvm/lib/CodeGen/CallBrPrepare.cpp
+0-51llvm/test/CodeGen/X86/inline-asm-prepare-memory.ll
+1-30llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+0-31llvm/include/llvm/CodeGen/InlineAsmPrepare.h
+253-2,03834 files not shown
+337-2,12640 files

LLVM/project a636dd4llvm/lib/CodeGen InlineAsmPrepare.cpp

[inlineasm] The CFG is not necessarily preserved.
DeltaFile
+0-2llvm/lib/CodeGen/InlineAsmPrepare.cpp
+0-21 files

LLVM/project 87b9805.github/workflows release-binaries.yml

workflows/release-binaries: Use free arm Windows runners for PRs (#181477)

We are running low on budget, so we need to disable this temporarily.
DeltaFile
+5-1.github/workflows/release-binaries.yml
+5-11 files

LLVM/project 6e23353llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 dag-stlf-mismatch.ll

[DAGCombiner] Fix crash caused by illegal InterVT in ForwardStoreValueToDirectLoad (#181175)

This patch fixes an assertion failure in ForwardStoreValueToDirectLoad
during DAGCombine.

The crash occurs when `STLF (Store-to-Load Forwarding)` creates an
illegal intermediate bitcast type (e.g., `v128i1` when bridging a
128-bit store to a `<32 x i1>` load on X86). Since `v128i1` is not a
legal mask type for the backend, it violates the expectations of the
LegalizeDAG pass.

The fix adds a `TLI.isTypeLegal(InterVT)` check to ensure that the
intermediate type used for the transformation is supported by the
target.

Fixes #181130
DeltaFile
+92-33llvm/test/CodeGen/X86/dag-stlf-mismatch.ll
+2-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+94-342 files

LLVM/project 45e666allvm/include/llvm/CodeGen InlineAsmPrepare.h, llvm/lib/CodeGen InlineAsmPrepare.cpp CallBrPrepare.cpp

[Clang][inlineasm] Add special support for "rm" output constraints (#92040)

Clang isn't able to support multiple constraints on inputs and outputs,
like "rm". Instead, it picks the "safest" one to use, i.e. the memory
constraint for "rm". This leads to obviously horrible code:

  asm __volatile__ ("pushf\n\t"
                    "popq %0"
                    : "=rm" (x));

is compiled to:

        pushf
        popq -8(%rsp)
        movq    -8(%rsp), %rax

It gets worse when inlined into other functions, because it may
introduce
a stack where none is needed.

    [16 lines not shown]
DeltaFile
+1,307-0llvm/test/CodeGen/X86/asm-constraints-rm.ll
+621-0llvm/lib/CodeGen/InlineAsmPrepare.cpp
+0-252llvm/lib/CodeGen/CallBrPrepare.cpp
+51-0llvm/test/CodeGen/X86/inline-asm-prepare-memory.ll
+30-1llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+31-0llvm/include/llvm/CodeGen/InlineAsmPrepare.h
+2,040-25334 files not shown
+2,128-33740 files

LLVM/project 84ce7b1llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-lrint.ll vector-llrint.ll

[X86] Avoid custom lowering `llrint` on non-x87 targets (#181339)

Fixes #181265
DeltaFile
+1,023-0llvm/test/CodeGen/X86/vector-lrint.ll
+727-0llvm/test/CodeGen/X86/vector-llrint.ll
+112-0llvm/test/CodeGen/X86/lrint-conv-i64.ll
+105-0llvm/test/CodeGen/X86/llrint-conv.ll
+2-1llvm/lib/Target/X86/X86ISelLowering.cpp
+1,969-15 files

LLVM/project ab25249libcxx/test/benchmarks/algorithms push_heap.bench.cpp, libcxx/test/benchmarks/algorithms/sorting push_heap.bench.cpp

[libc++] Refactor std::push_heap benchmark (#181343)

We're trying to get the time it takes to run all the benchmarks down, so
that we can run them on a regular basis. This patch saves us ~8 minutes
per run.

Fixes #177028
DeltaFile
+88-0libcxx/test/benchmarks/algorithms/sorting/push_heap.bench.cpp
+0-42libcxx/test/benchmarks/algorithms/push_heap.bench.cpp
+88-422 files

LLVM/project 8ccc40elibc/shared/math hypotf16.h, libc/src/__support/math hypotf16.h CMakeLists.txt

[libc][math] Refactor hypotf16 to Header Only (#180511).

closes #175337
part of #175336
DeltaFile
+99-0libc/src/__support/math/hypotf16.h
+2-75libc/src/math/generic/hypotf16.cpp
+31-0libc/shared/math/hypotf16.h
+18-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+15-0libc/src/__support/math/CMakeLists.txt
+1-7libc/src/math/generic/CMakeLists.txt
+166-843 files not shown
+169-849 files

LLVM/project 2060561llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer switch-icmp.ll

Reapply "[msan] Switch switch() from strict handling to (icmp eq)-style handling" (#180636) (#181112)

This reverts https://github.com/llvm/llvm-project/pull/180636 i.e.,
relands https://github.com/llvm/llvm-project/pull/179851.

It was originally reverted because of buildbot failures. When compiling
switch statements with many cases (e.g., AMDGPUGenMCCodeEmitter.inc has
>30,000 cases), MSan's instrumentation created an extremely long chained
expression for the shadow computation. Although that was legal LLVM IR,
it caused the subsequent JumpThreadingPass to have a stack overflow.

This reland avoids the issue by limiting the number of cases considered
(`-msan-switch-precision`), with the tradeoff of niche false negatives
(only in the case where the condition is partly uninitialized and the
first x cases still have a defined comparison, but a case # > x does not
have a fully-defined comparison).

This reland also adds some TODOs for possible improvements.


    [39 lines not shown]
DeltaFile
+67-0llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+20-5llvm/test/Instrumentation/MemorySanitizer/switch-icmp.ll
+87-52 files

LLVM/project bcf0ecflibc/shared/math ffma.h, libc/src/__support/math ffma.h CMakeLists.txt

[libc][math] Refactor ffma implementation to header-only in src/__support/math folder (#175304).

Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+26-0libc/src/__support/math/ffma.h
+23-0libc/shared/math/ffma.h
+12-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/ffma.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+73-63 files not shown
+76-69 files

LLVM/project a1d856alibc/shared/math tanhf.h, libc/src/__support/math tanhf.h CMakeLists.txt

[libc][math] Refactor tanhf implementation to header-only in src/__support/math folder. (#178554)

Part of https://github.com/llvm/llvm-project/issues/147386
closes https://github.com/llvm/llvm-project/issues/178493
DeltaFile
+127-0libc/src/__support/math/tanhf.h
+2-107libc/src/math/generic/tanhf.cpp
+16-9utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+23-0libc/shared/math/tanhf.h
+15-0libc/src/__support/math/CMakeLists.txt
+1-6libc/src/math/generic/CMakeLists.txt
+184-1223 files not shown
+187-1229 files

LLVM/project 5c14267clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded vabs.c vabdu.c, clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/overloaded vabs.c vabdu.c

[Clang][RISCV] Add Zvabd intrinsics

Doc:

* https://github.com/riscv/integer-vector-absolute-difference
* https://github.com/riscv-non-isa/rvv-intrinsic-doc/pull/424

Authored-by: Zhenxuan Sang <sang at bytedance.com>
Co-Authored-by: Pengcheng Wang <wangpengcheng.pp at bytedance.com>

Reviewers: preames, topperc, kito-cheng

Pull Request: https://github.com/llvm/llvm-project/pull/180929
DeltaFile
+956-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded/vabs.c
+956-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/overloaded/vabs.c
+603-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded/vabdu.c
+603-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/overloaded/vabdu.c
+585-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/overloaded/vabd.c
+585-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded/vabd.c
+4,288-022 files not shown
+11,234-1028 files

LLVM/project 2693adflibc/shared/math bf16addf128.h, libc/src/__support/math bf16addf128.h CMakeLists.txt

[libc][math] Refactor bf16addf128 to header only (#181058)

Resolves #181018
Part of #147386
DeltaFile
+32-0libc/src/__support/math/bf16addf128.h
+29-0libc/shared/math/bf16addf128.h
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/bf16addf128.cpp
+1-5libc/src/math/generic/CMakeLists.txt
+89-103 files not shown
+94-109 files

LLVM/project d6dee90lld/ELF/Arch RISCV.cpp

[ELF] Move RISCV scanSectionImpl next to getRelExpr. NFC

Move scanSectionImpl and scanSection to right after getRelExpr and
before relocate, matching the ordering used in X86_64.cpp and PPC64.cpp.
DeltaFile
+46-46lld/ELF/Arch/RISCV.cpp
+46-461 files

LLVM/project 78d9957lld/ELF Target.cpp, lld/ELF/Arch RISCVInternalRelocations.h RISCV.cpp

Revert "[LLD] Add support for statically resolved vendor-specific RISCV relocations. (#169273)" (#181336)

This reverts commit 0c6d7a40187e5e6cbdff1cf5dbdb6fe91054bef4 and
follow-up 7dfa132936a89a966befb6045f306cb9905c6dab.

It landed prematurely with multiple issues in the implementation and
tests.
DeltaFile
+0-113lld/ELF/Arch/RISCVInternalRelocations.h
+8-38lld/ELF/Arch/RISCV.cpp
+5-12lld/test/ELF/riscv-vendor-relocations.s
+0-9lld/ELF/Target.cpp
+13-1724 files