LLVM/project 6d89bc0mlir/test/Conversion/ArithAndMathToAPFloat arith-to-apfloat.mlir math-to-apfloat.mlir, mlir/test/Conversion/ArithToApfloat arith-to-apfloat.mlir

add lit test
DeltaFile
+0-329mlir/test/Conversion/ArithToApfloat/arith-to-apfloat.mlir
+329-0mlir/test/Conversion/ArithAndMathToAPFloat/arith-to-apfloat.mlir
+50-0mlir/test/Conversion/ArithAndMathToAPFloat/math-to-apfloat.mlir
+379-3293 files

LLVM/project 9878baclldb/source/Interpreter CommandInterpreter.cpp, lldb/test/Shell/Settings TestEchoFailedCommands.test

Revert "[lldb] Still echo the command if we print the error." (#172110)

Reverts llvm/llvm-project#171931 because the test is failing on Windows.
DeltaFile
+7-19lldb/source/Interpreter/CommandInterpreter.cpp
+0-10lldb/test/Shell/Settings/TestEchoFailedCommands.test
+0-4lldb/test/Shell/Settings/Inputs/FailedCommand.in
+7-333 files

LLVM/project f12684dcompiler-rt/lib/sanitizer_common/symbolizer CMakeLists.txt

escape

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
+1-11 files

LLVM/project f035e17compiler-rt/lib/sanitizer_common/symbolizer CMakeLists.txt

escape

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
+1-11 files

LLVM/project d7999f9lldb/source/Interpreter CommandInterpreter.cpp, lldb/test/Shell/Settings TestEchoFailedCommands.test

Revert "[lldb] Still echo the command if we print the error. (#171931)"

This reverts commit eb501b211aadba07665c9af54b347b162f5b3e84.
DeltaFile
+7-19lldb/source/Interpreter/CommandInterpreter.cpp
+0-10lldb/test/Shell/Settings/TestEchoFailedCommands.test
+0-4lldb/test/Shell/Settings/Inputs/FailedCommand.in
+7-333 files

LLVM/project 7927597lldb/test/API/functionalities/scripted_frame_provider/circular_dependency TestFrameProviderCircularDependency.py

Revert "[lldb/test] Enable debug info for TestFrameProviderCircularDependency.py"

This reverts commit 13b4eb9452d37106b1143723e658010a9b58d344 since it
doesn't fix the test failure.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+3-0lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+3-01 files

LLVM/project b50f6f2libc/src/__support float_to_string.h, libc/test/src/stdio sprintf_test.cpp

[libc] Properly fix printf long double subnormals (#172103)

In a previous PR I fixed one case where subnormal long doubles would
cause an infinite loop in printf. It was an improper fix though. The
problem was that a shift on the fixed point representation would
sometimes go negative, since the effective exponent of a subnormal is
lower than the minimum allowed exponent value. This patch extends the
fixed point representation to have space for subnormals, and adds an
assert to check that lshifts are always positive. The previous fix of
sometimes shifting right instead of left caused a loss of precision
which also sometimes caused infinite loops in the %e code.
DeltaFile
+10-9libc/src/__support/float_to_string.h
+12-0libc/test/src/stdio/sprintf_test.cpp
+22-92 files

LLVM/project ad2fca7clang/include/clang/DependencyScanning DependencyScanningWorker.h DependencyScannerImpl.h, clang/lib/DependencyScanning DependencyScannerImpl.cpp DependencyScanningWorker.cpp

[clang][DependencyScanning] Move driver-command logic for by-name scanning into DependencyScanningTool (#171238)

This is the second patch in a series that removes the dependency of
clangDependencyScanning on clangDriver, splitting the work from
#169964 into smaller changes (see comment linked below).

This patch updates the by-name scanning interface in
DependencyScanningWorker to accept only -cc1 command lines directly
and moves the logic for handling driver-style command lines into
DependencyScanningTool in clangTooling.
Support for -cc1 command lines in by-name scanning is introduced in
this patch.

The next patch will update the remaining parts of
DependencyScanningWorker to operate only on -cc1 command lines,
allowing its dependency on clangDriver to be removed.

https://github.com/llvm/llvm-project/pull/169964#pullrequestreview-3545879529
DeltaFile
+95-23clang/lib/Tooling/DependencyScanningTool.cpp
+17-38clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+25-21clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+20-21clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+5-17clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+11-0clang/test/ClangScanDeps/modules-full-by-mult-mod-names.c
+173-1203 files not shown
+192-1289 files

LLVM/project 7fe5907compiler-rt/lib/sanitizer_common/symbolizer CMakeLists.txt

try

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
+1-11 files

LLVM/project 6e118f3mlir/lib/Conversion/ArithAndMathToAPFloat MathToAPFloat.cpp CMakeLists.txt

address comment
DeltaFile
+13-1mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+1-1mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeLists.txt
+14-22 files

LLVM/project eb501b2lldb/source/Interpreter CommandInterpreter.cpp, lldb/test/Shell/Settings TestEchoFailedCommands.test

[lldb] Still echo the command if we print the error. (#171931)

When the command interpreter is asked to not echo commands but still
print errors, a user has no idea what command caused the error.

For example, when I add `bogus` in my `~/.lldbinit`:

```
$ lldb
error: 'bogus' is not a valid command.
```

Things are even more confusing when we have inline diagnostics, which
point to nothing. For example, when I add `settings set target.run-args
-foo` to my `~/.lldbinit`:

```
❯ lldb
                                    ˄˜˜˜

    [6 lines not shown]
DeltaFile
+19-7lldb/source/Interpreter/CommandInterpreter.cpp
+10-0lldb/test/Shell/Settings/TestEchoFailedCommands.test
+4-0lldb/test/Shell/Settings/Inputs/FailedCommand.in
+33-73 files

LLVM/project 47b4c6amlir/test/Dialect/OpenACC region-branchop-interface.mlir

[acc][test] add tests for RegionBranchOpInterface for acc regions (#172073)

use last modified analysis to test if RegionBranchOpInterface is correct
on acc regions
DeltaFile
+145-0mlir/test/Dialect/OpenACC/region-branchop-interface.mlir
+145-01 files

LLVM/project cf4be78flang-rt/include/flang-rt/runtime buffer.h, flang-rt/lib/runtime pseudo-unit.cpp unit.h

[flang][runtime] Debug PRINT *, "HI" on GPU (#172087)

Decrease memory allocation for buffers, allocate the pseudo-unit only
once on demand, and avoid using a "%*.s" format.
DeltaFile
+11-12flang-rt/lib/runtime/pseudo-unit.cpp
+7-2flang-rt/include/flang-rt/runtime/buffer.h
+5-1flang-rt/lib/runtime/unit.h
+23-153 files

LLVM/project 6a41aceflang/lib/Semantics mod-file.cpp, flang/test/Semantics modfile75.f90

[flang] Initializers for proc pointers in module files (#170349)

Default initializers for procedure pointer components are missing from
module files; add them.

Fixes https://github.com/llvm/llvm-project/issues/170331.
DeltaFile
+28-0flang/test/Semantics/modfile75.f90
+9-0flang/lib/Semantics/mod-file.cpp
+37-02 files

LLVM/project 6f1e3c3clang/lib/StaticAnalyzer/Checkers/WebKit PtrTypesSemantics.cpp RawPtrRefLocalVarsChecker.cpp, clang/test/Analysis/Checkers/WebKit uncounted-local-vars.cpp local-vars-checked-const-member.cpp

[alpha.webkit.UncountedLocalVarsChecker] Ignore a VarDecl in "if" with trivial "then" (#171764)

Don't emit a warning when a variable declaration appears within the "if"
condition and if its "then" statement is trivial.
DeltaFile
+46-1clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
+10-3clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
+8-0clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+1-3clang/test/Analysis/Checkers/WebKit/local-vars-checked-const-member.cpp
+1-3clang/test/Analysis/Checkers/WebKit/local-vars-counted-const-member.cpp
+66-105 files

LLVM/project e23e570clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLambdaCapturesChecker.cpp, clang/test/Analysis/Checkers/WebKit uncounted-lambda-captures.cpp

[webkit.UncountedLambdaCapturesChecker] Ignore a lambda which gets called immediately (#162977)

Recognize more ways in which a lambda can be declared and called
immediately.
DeltaFile
+17-0clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+11-0clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
+28-02 files

LLVM/project 9d203b2mlir/lib/Conversion/ArithAndMathToAPFloat MathToAPFloat.cpp, mlir/lib/Conversion/MathToLLVM MathToLLVM.cpp

working
DeltaFile
+1-7mlir/lib/ExecutionEngine/APFloatWrappers.cpp
+5-2mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+2-2mlir/test/Integration/Dialect/Math/CPU/test-apfloat-emulation.mlir
+0-1mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+8-124 files

LLVM/project 148280dmlir/lib/Conversion/ArithAndMathToAPFloat ArithToAPFloat.cpp MathToAPFloat.cpp, mlir/lib/Conversion/ArithToAPFloat ArithToAPFloat.cpp

[mlir][math] Add FP software implementation lowering pass: math-to-apfloat
DeltaFile
+0-665mlir/lib/Conversion/ArithToAPFloat/ArithToAPFloat.cpp
+623-0mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp
+148-0mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+49-0mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeLists.txt
+47-1mlir/lib/ExecutionEngine/APFloatWrappers.cpp
+39-0mlir/lib/Dialect/Func/Utils/Utils.cpp
+906-6669 files not shown
+1,035-68615 files

LLVM/project 9d11ddemlir/lib/Conversion/ArithAndMathToAPFloat MathToAPFloat.cpp, mlir/lib/ExecutionEngine APFloatWrappers.cpp

not working (print is wrong?)
DeltaFile
+51-0mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+23-0mlir/lib/ExecutionEngine/APFloatWrappers.cpp
+9-0mlir/test/Integration/Dialect/Math/CPU/test-apfloat-emulation.mlir
+83-03 files

LLVM/project 13b4eb9lldb/test/API/functionalities/scripted_frame_provider/circular_dependency TestFrameProviderCircularDependency.py

[lldb/test] Enable debug info for TestFrameProviderCircularDependency.py

This is necessary to get the function name in the test, following
20a6c59d8311d92bd8553b22b82a3874e0016edb.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+0-2lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+0-21 files

LLVM/project 5361636mlir/include/mlir/Conversion/LLVMCommon VectorPattern.h Pattern.h, mlir/lib/Conversion/LLVMCommon Pattern.cpp VectorPattern.cpp

[mlir][LLVM] refactor FailOnUnsupportedFP (#172054)

Enable `FailOnUnsupportedFP` for `ConvertToLLVMPattern` and set it to
`true` for all `math-to-llvm` patterns. This fixes various invalid
lowerings of `math` ops on `fp8`/`fp4` types.
DeltaFile
+40-17mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+31-0mlir/lib/Conversion/LLVMCommon/Pattern.cpp
+7-18mlir/include/mlir/Conversion/LLVMCommon/VectorPattern.h
+22-1mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
+0-21mlir/lib/Conversion/LLVMCommon/VectorPattern.cpp
+13-0mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
+113-576 files

LLVM/project 1f64187llvm/test/CodeGen/AMDGPU waitcnt-loop-ds-opt-eligible.mir

Update llvm/test/CodeGen/AMDGPU/waitcnt-loop-ds-opt-eligible.mir

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/waitcnt-loop-ds-opt-eligible.mir
+1-11 files

LLVM/project 0387dcacompiler-rt/lib/sanitizer_common/symbolizer CMakeLists.txt

try

Created using spr 1.3.7
DeltaFile
+2-1compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
+2-11 files

LLVM/project 560fe76llvm/docs GitBisecting.rst

[docs] Point to `git bisect --first-parent` (#171728)

Introduced in Git 2.29 (Oct 2020).
DeltaFile
+2-18llvm/docs/GitBisecting.rst
+2-181 files

LLVM/project 9399848mlir/lib/Conversion/MathToLLVM MathToLLVM.cpp

address comment
DeltaFile
+11-11mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+11-111 files

LLVM/project de09c38compiler-rt/lib/sanitizer_common/symbolizer CMakeLists.txt

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
+1-11 files

LLVM/project 54ae122llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/AMDGPU extract-insert-i8.ll shuffles-of-length-changing-shuffles.ll

VectorCombine: Fold chains of shuffles fed by length-changing shuffles (#168819)

Such chains can arise from folding insert/extract chains.
DeltaFile
+192-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+4-32llvm/test/Transforms/VectorCombine/AMDGPU/extract-insert-i8.ll
+4-8llvm/test/Transforms/VectorCombine/AMDGPU/shuffles-of-length-changing-shuffles.ll
+200-403 files

LLVM/project e6e3f94llvm/lib/Transforms/Vectorize VPlanUnroll.cpp

[VPlan] Re-add clarifying comment regarding part to extract. (NFC)

Re-add and emphasize comment regarding extracting from the last part, as
suggested post-commit in https://github.com/llvm/llvm-project/pull/171145.
DeltaFile
+1-0llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+1-01 files

LLVM/project 333ee93llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Update stale comment after 4e05d702f02a. (NFC)

Address post-commit suggestion, update stale comment after 4e05d702f.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+1-11 files

LLVM/project 20c67c7libcxx/utils compare-benchmarks

[libc++] Produce summary reports in compare-benchmarks

This patch adds the ability to produce a summary report with a few KPIs
in the compare-benchmarks script. This is useful to regularly monitor
the progress of the library on these KPIs.

Example usage:

     compare-benchmarks libstdcxx.lnt llvm-20.lnt llvm-21.lnt main.lnt     \
         --series-names "GNU,LLVM 20,LLVM 21,LLVM main"                    \
         --format kpi                                                      \
         --noise-threshold 0.1                                             \
         --meta-candidate 'LLVM'

This would produce a short report showing the evolution of benchmarks
in the given LLVM releases as compared to a GNU baseline.
DeltaFile
+83-3libcxx/utils/compare-benchmarks
+83-31 files