LLVM/project 0f572c1llvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU fsqrt.f32.ll

AMDGPU: Teach lowering that exp and log intrinsics cannot return denormals (#172296)

DeltaFile
+103-0llvm/test/CodeGen/AMDGPU/fsqrt.f32.ll
+5-0llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+3-0llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+111-03 files

LLVM/project 79a8894libcxx/docs/ReleaseNotes 22.rst, libcxx/include/__algorithm rotate.h

[libc++] Optimize rotate (#120890)

This implements a new algorithm for `rotate` with random access
iterators, which uses `swap_ranges`. This reduces cache misses and
allows for vectorization.

Apple M4:
```
Benchmark                                                       old             new    Difference    % Difference
---------------------------------------------------  --------------  --------------  ------------  --------------
rng::rotate(deque<int>)_(1_element_backward)/1024             46.17           45.13         -1.04          -2.26%
rng::rotate(deque<int>)_(1_element_backward)/32                4.90            4.92          0.02           0.45%
rng::rotate(deque<int>)_(1_element_backward)/50                6.12            6.02         -0.10          -1.56%
rng::rotate(deque<int>)_(1_element_backward)/8192            329.97          330.49          0.52           0.16%
rng::rotate(deque<int>)_(1_element_forward)/1024              42.20           42.99          0.79           1.87%
rng::rotate(deque<int>)_(1_element_forward)/32                 4.99            5.26          0.27           5.37%
rng::rotate(deque<int>)_(1_element_forward)/50                 6.33            6.48          0.14           2.28%
rng::rotate(deque<int>)_(1_element_forward)/8192             317.40          318.68          1.28           0.40%
rng::rotate(deque<int>)_(by_1/2)/1024                        185.42          184.23         -1.18          -0.64%

    [154 lines not shown]
DeltaFile
+25-42libcxx/include/__algorithm/rotate.h
+2-0libcxx/docs/ReleaseNotes/22.rst
+27-422 files

LLVM/project 96ee7d2bolt/include/bolt/Passes LivenessAnalysis.h ReachingDefOrUse.h, bolt/lib/Passes ShrinkWrapping.cpp RegReAssign.cpp

[ADT] Make use of subsetOf and anyCommon methods of BitVector (NFC) (#170876)

Replace the code along these lines

    BitVector Tmp = LHS;
    Tmp &= RHS;
    return Tmp.any();

and

    BitVector Tmp = LHS;
    Tmp.reset(RHS);
    return Tmp.none();

with `LHS.anyCommon(RHS)` and `LHS.subsetOf(RHS)`, correspondingly,
which do not require creating temporary BitVector and can return early.
DeltaFile
+4-6bolt/lib/Passes/ShrinkWrapping.cpp
+2-6bolt/lib/Passes/RegReAssign.cpp
+4-4bolt/lib/Passes/TailDuplication.cpp
+2-4llvm/lib/CodeGen/RDFRegisters.cpp
+2-3bolt/include/bolt/Passes/LivenessAnalysis.h
+1-2bolt/include/bolt/Passes/ReachingDefOrUse.h
+15-251 files not shown
+16-277 files

LLVM/project 359abf8mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp

fix after rebase
DeltaFile
+2-2mlir/lib/Bindings/Python/MainModule.cpp
+2-2mlir/include/mlir/Bindings/Python/IRCore.h
+4-42 files

LLVM/project d7577a8mlir/test/python/dialects python_test.py, mlir/test/python/lib PythonTestModuleNanobind.cpp

port mlir_attribute_subclass
DeltaFile
+21-13mlir/test/python/lib/PythonTestModuleNanobind.cpp
+3-3mlir/test/python/dialects/python_test.py
+24-162 files

LLVM/project 73aa103mlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone CMakeLists.txt

massage cmake
DeltaFile
+127-31mlir/cmake/modules/AddMLIRPython.cmake
+10-61mlir/python/CMakeLists.txt
+3-0mlir/examples/standalone/CMakeLists.txt
+140-923 files

LLVM/project 5a09a60mlir/test/python/dialects python_test.py

format
DeltaFile
+24-6mlir/test/python/dialects/python_test.py
+24-61 files

LLVM/project 598d869mlir/include/mlir/Bindings/Python Globals.h IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRAttributes.cpp

rebase
DeltaFile
+53-0mlir/lib/Bindings/Python/MainModule.cpp
+0-44mlir/include/mlir/Bindings/Python/Globals.h
+7-7mlir/include/mlir/Bindings/Python/IRCore.h
+4-5mlir/python/CMakeLists.txt
+0-8mlir/lib/Bindings/Python/IRAttributes.cpp
+0-3mlir/lib/Bindings/Python/Globals.cpp
+64-671 files not shown
+65-677 files

LLVM/project 4381066mlir/examples/standalone/include/Standalone-c Dialects.h, mlir/examples/standalone/lib/CAPI Dialects.cpp

add standalone test/use of IRCore
DeltaFile
+25-0mlir/examples/standalone/python/StandaloneExtensionNanobind.cpp
+13-0mlir/examples/standalone/lib/CAPI/Dialects.cpp
+7-0mlir/examples/standalone/include/Standalone-c/Dialects.h
+4-0mlir/examples/standalone/test/python/smoketest.py
+0-1mlir/include/mlir/Bindings/Python/Globals.h
+49-15 files

LLVM/project 54b0f7amlir/include/mlir/Bindings/Python Globals.h, mlir/lib/Bindings/Python Globals.cpp

try fix windows badcast
DeltaFile
+9-9mlir/python/CMakeLists.txt
+3-9mlir/test/python/dialects/python_test.py
+5-0mlir/lib/Bindings/Python/Globals.cpp
+1-4mlir/include/mlir/Bindings/Python/Globals.h
+18-224 files

LLVM/project 73b0c6fmlir/python CMakeLists.txt

[mlir][Python] create MLIRPythonSupport
DeltaFile
+52-13mlir/python/CMakeLists.txt
+52-131 files

LLVM/project 9fd0469mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRTypes.cpp

works
DeltaFile
+2-30mlir/lib/Bindings/Python/MainModule.cpp
+20-11mlir/test/python/lib/PythonTestModuleNanobind.cpp
+19-0mlir/include/mlir/Bindings/Python/IRCore.h
+3-15mlir/lib/Bindings/Python/IRTypes.cpp
+1-13mlir/lib/Bindings/Python/IRAttributes.cpp
+10-2mlir/python/CMakeLists.txt
+55-716 files not shown
+60-8012 files

LLVM/project 4de2c0bmlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

kind of working
DeltaFile
+17-3,300mlir/lib/Bindings/Python/IRCore.cpp
+2,355-0mlir/include/mlir/Bindings/Python/IRCore.h
+2,274-3mlir/lib/Bindings/Python/MainModule.cpp
+0-1,348mlir/lib/Bindings/Python/IRModule.h
+0-436mlir/lib/Bindings/Python/NanobindUtils.h
+436-0mlir/include/mlir/Bindings/Python/NanobindUtils.h
+5,082-5,08715 files not shown
+5,671-5,58321 files

LLVM/project 79796ecmlir/cmake/modules AddMLIR.cmake, mlir/include/mlir/IR EnumAttr.td

[MLIR][TblGen] add AttrOrTypeCAPIGen
DeltaFile
+367-0mlir/tools/mlir-tblgen/AttrOrTypeCAPIGen.cpp
+44-0mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h
+3-39mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+3-0mlir/cmake/modules/AddMLIR.cmake
+1-0mlir/include/mlir/IR/EnumAttr.td
+1-0mlir/tools/mlir-tblgen/CMakeLists.txt
+419-396 files

LLVM/project a9e193bclang/lib/CodeGen BackendUtil.cpp, clang/test/CodeGen codegen-plugins.c

[Clang] Invoke pass plugin preCodeGenCallback

Single-use AddEmitPasses is inlined into RunCodegenPipeline for clarity
in comparing the parameters to the plugin and the parameters passed to
addPassesToEmitFile.

Pull Request: https://github.com/llvm/llvm-project/pull/171872
DeltaFile
+35-50clang/lib/CodeGen/BackendUtil.cpp
+14-0clang/test/CodeGen/codegen-plugins.c
+49-502 files

LLVM/project d8eec8elldb/packages/Python/lldbsuite/test lldbtest.py, lldb/test/API/tools/lldb-dap/attach TestDAP_attach.py

[lldb-dap] refactor monitor thread in tests (#172879)

This patch fixes a timeout in the monitor thread of the
`test_by_name_waitFor` test.

Currently, if `self.attach` fails, the `spawn_thread` will never finish
and the test will eventually timeout after the 15mins timeout. We now
ensure that we always join the thread at the end of the test.

Additionally, this change also uses of the `spawnSubprocess` method to
create the process. This should ensure the process is always properly
cleaned up after an exception occurs.
DeltaFile
+26-13lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
+26-5lldb/packages/Python/lldbsuite/test/lldbtest.py
+52-182 files

LLVM/project 441d03cmlir/cmake/modules AddMLIR.cmake, mlir/include/mlir/IR EnumAttr.td

[MLIR][TblGen] add AttrOrTypeCAPIGen
DeltaFile
+370-0mlir/tools/mlir-tblgen/AttrOrTypeCAPIGen.cpp
+44-0mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h
+3-39mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+2-0mlir/cmake/modules/AddMLIR.cmake
+1-0mlir/tools/mlir-tblgen/CMakeLists.txt
+1-0mlir/include/mlir/IR/EnumAttr.td
+421-396 files

LLVM/project f0db054lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCTypeEncodingParser.cpp

[lldb][ObjC][NFC] Use llvm::StringRef::consume_front(char) where possible (#173012)

Now that the `llvm::StringRef::consume_front(char)` exists, lets use it
to replace the `consumeChar` helper.

Drive-by:
* Also use the overload where we previously had to pass a single
character as a string literal.
DeltaFile
+9-18lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
+9-181 files

LLVM/project 4cc8860libcxx/include __bit_reference, libcxx/include/__algorithm equal.h ranges_equal.h

[libc++] Refactor std::equal to forward to the 3-leg overload if the size of the ranges is known (#171585)

This allows us to merge some optimizations common between the 3-leg
overload and the two ranges overload.

In some cases this could also improve performance, since we avoid
checking one of the iterators if the size if the ranges is known. I
haven't been able to show any improvements though.

This is also a prerequisite for optimizing `std::search`.
DeltaFile
+42-54libcxx/include/__algorithm/equal.h
+17-26libcxx/include/__algorithm/ranges_equal.h
+13-3libcxx/include/__bit_reference
+1-1libcxx/test/std/utilities/memory/specialized.algorithms/buffer.h
+73-844 files

LLVM/project 1a08d70mlir/include/mlir/IR EnumAttr.td, mlir/tools/mlir-tblgen AttrOrTypeCAPIGen.cpp AttrOrTypeFormatGen.h

[MLIR][TblGen] add AttrOrTypeCAPIGen
DeltaFile
+370-0mlir/tools/mlir-tblgen/AttrOrTypeCAPIGen.cpp
+44-0mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h
+3-39mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+1-0mlir/include/mlir/IR/EnumAttr.td
+1-0mlir/tools/mlir-tblgen/CMakeLists.txt
+419-395 files

LLVM/project a687856libcxx/src locale.cpp

[libc++] Update locale.cpp to use some newer C++ features (#173286)

`locale.cpp` has been written a long time ago and has implemented a few
things again that have only been added in newer C++ versions. This
replaces the custom implementations with standard ones.
DeltaFile
+31-42libcxx/src/locale.cpp
+31-421 files

LLVM/project 4f7d15allvm/docs MemProf.rst

Mention attribute for unambiguous allocation sites
DeltaFile
+1-1llvm/docs/MemProf.rst
+1-11 files

LLVM/project 1869b3fllvm/docs MemProf.rst

Actually fix formatting and warning.
DeltaFile
+3-5llvm/docs/MemProf.rst
+3-51 files

LLVM/project 1da51cdllvm/docs MemProf.rst

Add metadata docs
DeltaFile
+4-4llvm/docs/MemProf.rst
+4-41 files

LLVM/project d636ec6llvm/docs MemProf.rst

Drop extra example run command.
DeltaFile
+1-7llvm/docs/MemProf.rst
+1-71 files

LLVM/project f6e7517llvm/docs MemProf.rst

Update LTO section
DeltaFile
+9-8llvm/docs/MemProf.rst
+9-81 files

LLVM/project efa3bd2llvm/docs MemProf.rst

Fix list formatting
DeltaFile
+1-0llvm/docs/MemProf.rst
+1-01 files

LLVM/project c44b1fcllvm/docs MemProf.rst

Fix note and list formatting.
DeltaFile
+1-2llvm/docs/MemProf.rst
+1-21 files

LLVM/project 732027dllvm/docs MemProf.rst

Address comments.
DeltaFile
+46-21llvm/docs/MemProf.rst
+46-211 files

LLVM/project 6d62afdllvm/docs MemProf.rst

Fix indentation.
DeltaFile
+4-4llvm/docs/MemProf.rst
+4-41 files