LLVM/project 46a7cballvm/test/MC/AMDGPU gfx11_asm_vopcx.s gfx12_asm_vop3cx_dpp16.s, llvm/test/MC/Disassembler/AMDGPU gfx12_dasm_vop3cx_dpp16.txt gfx11_dasm_vopcx.txt

Merge branch 'main' into users/HighCommander4/clangd-issue-1249
DeltaFile
+1,195-195llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3cx_dpp16.txt
+585-390llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s
+533-416llvm/test/MC/AMDGPU/gfx12_asm_vop3cx_dpp16.s
+546-390llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s
+481-364llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16_from_vopcx.s
+650-195llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopcx.txt
+3,990-1,950751 files not shown
+25,101-12,229757 files

LLVM/project 951d0fbllvm/test/CodeGen/RISCV/rvv intrinsic-vector-match.ll, llvm/test/MC/AMDGPU gfx11_asm_vopcx.s gfx12_asm_vop3cx_dpp16.s

Address comments

Created using spr 1.3.5
DeltaFile
+1,195-195llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3cx_dpp16.txt
+640-678llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
+413-682llvm/test/CodeGen/RISCV/rvv/intrinsic-vector-match.ll
+585-390llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s
+533-416llvm/test/MC/AMDGPU/gfx12_asm_vop3cx_dpp16.s
+546-390llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s
+3,912-2,751955 files not shown
+29,787-15,763961 files

LLVM/project 6a3c6bbllvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll

Rebase, rework

Created using spr 1.3.5
DeltaFile
+30,641-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
+27,655-0llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
+27,139-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
+25,981-0llvm/test/CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
+25,981-0llvm/test/CodeGen/AMDGPU/shufflevector.v2p3.v8p3.ll
+165,052-06,598 files not shown
+1,277,792-184,4106,604 files

LLVM/project 25767fcclang/test/CodeGen atomic-test-and-set.c, clang/unittests/Analysis ExprMutationAnalyzerTest.cpp

Fix a crash

Created using spr 1.3.5
DeltaFile
+640-678llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
+413-682llvm/test/CodeGen/RISCV/rvv/intrinsic-vector-match.ll
+395-0clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
+361-0llvm/utils/TableGen/SDNodeInfoEmitter.cpp
+345-0clang/test/CodeGen/atomic-test-and-set.c
+0-285mlir/test/Dialect/Tosa/broadcast.mlir
+2,154-1,645675 files not shown
+12,157-6,435681 files

LLVM/project e30b703mlir/lib/Bindings/Python IRCore.cpp IRModule.h

[mlir:python] Construct PyOperation objects in-place on the Python heap. (#123813)

Currently we make two memory allocations for each PyOperation: a Python
object, and the PyOperation class itself. With some care we can allocate
the PyOperation inline inside the Python object, saving us a malloc()
call per object and perhaps improving cache locality.
DeltaFile
+20-8mlir/lib/Bindings/Python/IRCore.cpp
+2-1mlir/lib/Bindings/Python/IRModule.h
+22-92 files

LLVM/project f4125e0mlir/lib/Bindings/Python IRCore.cpp IRModule.h, mlir/test/mlir-tblgen op-python-bindings.td

[mlir python] Change PyOpView constructor to construct operations. (#123777)

Previously ODS-generated Python operations had code like this:
```
  super().__init__(self.build_generic(attributes=attributes, operands=operands, successors=_ods_successors, regions=regions, loc=loc, ip=ip))
```

we change it to:
```
  super().__init__(self.OPERATION_NAME, self._ODS_REGIONS, self._ODS_OPERAND_SEGMENTS, self._ODS_RESULT_SEGMENTS, attributes=attributes, operands=operands, successors=_ods_successors, regions=regions, loc=loc, ip=ip)
```

This:
a) avoids an extra call dispatch (to `build_generic`), and
b) passes the class attributes directly to the constructor. Benchmarks
show that it is faster to pass these as arguments rather than having the
C++ code look up attributes on the class.

This PR improves the timing of the following benchmark on my workstation

    [16 lines not shown]
DeltaFile
+48-32mlir/test/mlir-tblgen/op-python-bindings.td
+60-13mlir/lib/Bindings/Python/IRCore.cpp
+11-7mlir/lib/Bindings/Python/IRModule.h
+5-1mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
+124-534 files

LLVM/project bba7783clang/include/clang/Basic BuiltinsX86.td, llvm/test/CodeGen/RISCV/rvv vfma-vp.ll

Rebase

Created using spr 1.3.5
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+22,820-18,7155,948 files not shown
+312,261-154,8845,954 files

LLVM/project f4fb73allvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime' into users/meinersbur/flang_runtime_shared
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project bed5b1fllvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_move-files' into users/meinersbur/flang_runtime
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project a8c87d7llvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_flang_rt' into users/meinersbur/flang_runtime_move-files
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project 1f3d71ellvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_FLANG_INCLUDE_RUNTIME' into users/meinersbur/flang_runtime_flang_rt
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project b68700bllvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_Testing' into users/meinersbur/flang_runtime_FLANG_INCLUDE_RUNTIME
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project f007594llvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_FortranSupport' into users/meinersbur/flang_runtime_Testing
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8514,704 files

LLVM/project a519f98llvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'users/meinersbur/flang_runtime_FortranDecimal' into users/meinersbur/flang_runtime_FortranSupport
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,698 files not shown
+229,000-108,8504,704 files

LLVM/project f2abcdellvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Merge branch 'main' into users/meinersbur/flang_runtime_FortranDecimal
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+19,871-21,1214,699 files not shown
+229,007-108,8504,705 files

LLVM/project df1b617clang/include/clang/Basic BuiltinsX86.td, llvm/test/CodeGen/AMDGPU dagcombine-fmul-sel.ll

Merge branch 'main' into users/zhaoqi5/pre-commit-tlsle-mergebaseoffset-tests
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+3,130-1,856llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+25,717-13,9925,312 files not shown
+294,216-135,0845,318 files

LLVM/project eab9b11llvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Rebase, address comments

Created using spr 1.3.5
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+2,263-2,208llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc.txt
+21,901-16,7503,291 files not shown
+182,635-84,8913,297 files

LLVM/project f1a1be0llvm/test/CodeGen/RISCV/rvv vfma-vp.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-8.ll

Rebase

Created using spr 1.3.5
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,429-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+2,263-2,208llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc.txt
+21,901-16,7504,167 files not shown
+210,098-98,5164,173 files

LLVM/project 31f9136clang/include/clang/Basic BuiltinsX86.td, llvm/test/CodeGen/AMDGPU dagcombine-fmul-sel.ll

Merge branch 'main' into users/zhaoqi5/avoid-scheduling-and-attach-relax
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+3,130-1,856llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+25,717-13,9924,774 files not shown
+272,955-129,7234,780 files

LLVM/project a8d8e9bclang/test/CodeGen/AArch64/fp8-intrinsics acle_sve2_fp8_reinterpret.c, llvm/test/CodeGen/RISCV memcpy.ll

Rebase on main

Created using spr 1.3.6-beta.1
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,182-0clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sve2_fp8_reinterpret.c
+2,164-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
+760-760llvm/test/CodeGen/X86/vector-popcnt-512-ult-ugt.ll
+1,375-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll
+676-359llvm/test/CodeGen/RISCV/memcpy.ll
+12,996-6,4641,397 files not shown
+57,771-26,8461,403 files

LLVM/project dfe7d7bclang/test/CodeGen/AArch64/fp8-intrinsics acle_sve2_fp8_reinterpret.c, llvm/test/CodeGen/RISCV memcpy.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,182-0clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sve2_fp8_reinterpret.c
+2,164-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
+760-760llvm/test/CodeGen/X86/vector-popcnt-512-ult-ugt.ll
+1,375-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll
+676-359llvm/test/CodeGen/RISCV/memcpy.ll
+12,996-6,4641,397 files not shown
+57,771-26,8461,403 files

LLVM/project 31067baclang/test/CodeGen/AArch64/fp8-intrinsics acle_sve2_fp8_reinterpret.c, llvm/test/CodeGen/RISCV memcpy.ll

Rebase on main

Created using spr 1.3.6-beta.1
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,182-0clang/test/CodeGen/AArch64/fp8-intrinsics/acle_sve2_fp8_reinterpret.c
+2,164-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
+760-760llvm/test/CodeGen/X86/vector-popcnt-512-ult-ugt.ll
+1,375-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll
+676-359llvm/test/CodeGen/RISCV/memcpy.ll
+12,996-6,4641,397 files not shown
+57,771-26,8461,403 files

LLVM/project 7aeb1c9llvm/test/MC/AMDGPU gfx12_asm_vop3c_dpp16-fake16.s gfx12_asm_vop3cx-fake16.s, llvm/test/MC/Disassembler/AMDGPU gfx11_dasm_vopc.txt gfx11_dasm_vop3_from_vopc.txt

Rebase, address comments

Created using spr 1.3.5
DeltaFile
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+2,583-2,582llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+2,413-2,410llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+2,205-2,204llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc.txt
+2,065-2,062llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3c.txt
+3,414-0llvm/test/MC/AMDGPU/gfx12_asm_vop3cx-fake16.s
+19,327-9,2581,584 files not shown
+100,551-44,6461,590 files

LLVM/project e2c49a4mlir/lib/Bindings/Python IRCore.cpp IRModule.h

[mlir python] Add locking around PyMlirContext::liveOperations. (#122720)

In JAX, I observed a race between two PyOperation destructors from
different threads updating the same `liveOperations` map, despite not
intentionally sharing the context between different threads. Since I
don't think we can be completely sure when GC happens and on which
thread, it seems safest simply to add locking here.

We may also want to explicitly support sharing a context between threads
in the future, which would require this change or something similar.
DeltaFile
+31-12mlir/lib/Bindings/Python/IRCore.cpp
+3-0mlir/lib/Bindings/Python/IRModule.h
+34-122 files

LLVM/project f136c80mlir/cmake/modules AddMLIRPython.cmake, mlir/docs/Bindings Python.md

by vfdev via GitHub on ⎇
Enabled freethreading support in MLIR python bindings (#122684)

Reland reverted https://github.com/llvm/llvm-project/pull/107103 with
the fixes for Python 3.8

cc @jpienaar

Co-authored-by: Peter Hawkins <phawkins at google.com>
DeltaFile
+518-0mlir/test/python/multithreaded_tests.py
+40-0mlir/docs/Bindings/Python.md
+27-4mlir/lib/Bindings/Python/IRCore.cpp
+20-1mlir/cmake/modules/AddMLIRPython.cmake
+16-2mlir/lib/Bindings/Python/IRModule.cpp
+11-1mlir/lib/Bindings/Python/Globals.h
+632-84 files not shown
+640-1710 files

LLVM/project 3f1486fmlir/cmake/modules AddMLIRPython.cmake, mlir/docs/Bindings Python.md

Revert "Added free-threading CPython mode support in MLIR Python bindings (#107103)"

Breaks on 3.8, rolling back to avoid breakage while fixing.

This reverts commit 9dee7c44491635ec9037b90050bcdbd3d5291e38.
DeltaFile
+0-531mlir/test/python/multithreaded_tests.py
+0-40mlir/docs/Bindings/Python.md
+4-27mlir/lib/Bindings/Python/IRCore.cpp
+1-20mlir/cmake/modules/AddMLIRPython.cmake
+2-16mlir/lib/Bindings/Python/IRModule.cpp
+1-11mlir/lib/Bindings/Python/Globals.h
+8-6453 files not shown
+16-6499 files

LLVM/project 9dee7c4mlir/cmake/modules AddMLIRPython.cmake, mlir/docs/Bindings Python.md

by vfdev via GitHub on ⎇
Added free-threading CPython mode support in MLIR Python bindings (#107103)

Related to https://github.com/llvm/llvm-project/issues/105522

Description:

This PR is a joint work with Peter Hawkins (@hawkinsp) originally done
by myself for pybind11 and then reworked to nanobind based on Peter's
branch: https://github.com/hawkinsp/llvm-project/tree/nbdev .

- Added free-threading CPython mode support for MLIR Python bindings
- Added a test which can reveal data races when cpython and LLVM/MLIR
compiled with TSAN

Context:
- Related to https://github.com/google/jax/issues/23073

Co-authored-by: Peter Hawkins <phawkins at google.com>
DeltaFile
+531-0mlir/test/python/multithreaded_tests.py
+40-0mlir/docs/Bindings/Python.md
+27-4mlir/lib/Bindings/Python/IRCore.cpp
+20-1mlir/cmake/modules/AddMLIRPython.cmake
+16-2mlir/lib/Bindings/Python/IRModule.cpp
+11-1mlir/lib/Bindings/Python/Globals.h
+645-83 files not shown
+649-169 files

LLVM/project f5de3e9clang/include/clang/Basic BuiltinsX86.td, libc/include math.yaml

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+3,130-1,856llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+0-4,162llvm/test/CodeGen/AVR/branch-relaxation-long.ll
+2,765-0llvm/test/CodeGen/X86/fminimumnum-fmaximumnum.ll
+2,715-7llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
+2,630-0libc/include/math.yaml
+16,618-6,0294,971 files not shown
+222,568-106,4674,977 files

LLVM/project 6b58c85clang/include/clang/Basic BuiltinsX86.td, libc/include math.yaml

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+3,130-1,856llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+0-4,162llvm/test/CodeGen/AVR/branch-relaxation-long.ll
+2,765-0llvm/test/CodeGen/X86/fminimumnum-fmaximumnum.ll
+2,715-7llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
+2,630-0libc/include/math.yaml
+16,618-6,0294,970 files not shown
+222,521-106,4354,976 files

LLVM/project bdba932clang/include/clang/Basic BuiltinsX86.td, libc/hdrgen/yaml math.yaml

rewrite test case

Created using spr 1.3.5-bogner
DeltaFile
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+3,130-1,856llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+0-4,162llvm/test/CodeGen/AVR/branch-relaxation-long.ll
+2,765-0llvm/test/CodeGen/X86/fminimumnum-fmaximumnum.ll
+2,630-0libc/include/math.yaml
+0-2,629libc/hdrgen/yaml/math.yaml
+13,903-8,6514,211 files not shown
+171,634-84,6264,217 files