LLVM/project 2b16484compiler-rt/lib/safestack safestack.cpp

Fix typo

Created using spr 1.3.7
DeltaFile
+5-5compiler-rt/lib/safestack/safestack.cpp
+5-51 files

LLVM/project baf184ccompiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+4-4compiler-rt/lib/safestack/safestack.cpp
+4-41 files

LLVM/project 3119832compiler-rt/lib/safestack safestack.cpp

fix clang-format

Created using spr 1.3.7
DeltaFile
+4-4compiler-rt/lib/safestack/safestack.cpp
+4-41 files

LLVM/project 92dad13llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 uaddlp.ll addp-shuffle.ll

[AArch64] Additional Tablegen patterns for `shuffle(zext(...))` and `shuffle(sext(...))` to `uaddlp` (#195120)
DeltaFile
+111-0llvm/test/CodeGen/AArch64/uaddlp.ll
+16-48llvm/test/CodeGen/AArch64/addp-shuffle.ll
+39-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+166-483 files

LLVM/project bedac40flang/include/flang/Optimizer/Dialect FIROps.td FIROps.h, flang/lib/Optimizer/Dialect FIROps.cpp

[flang][mem2reg] promote memory slots through declares
DeltaFile
+195-16flang/test/Fir/mem2reg.mlir
+87-24flang/lib/Optimizer/Dialect/FIROps.cpp
+9-4flang/include/flang/Optimizer/Dialect/FIROps.td
+1-0flang/include/flang/Optimizer/Dialect/FIROps.h
+292-444 files

LLVM/project 5e8f473libc/src/__support big_int.h

[libc] Fix BigInt shift on big-endian platforms (#196957)

BigInt<128> stores the value in two separate word sized array slots
with the low 64 bits being stored in val[0] and high 64 bits in val[1].
This can't be reinterpreted as a 128 bit value on big-endian platforms
because the values are reversed.

This has caused test failures on s390x builds of V8:
https://issues.chromium.org/issues/511831894

---------

Co-authored-by: Guillaume Chatelet <gchatelet at google.com>
DeltaFile
+2-1libc/src/__support/big_int.h
+2-11 files

LLVM/project 8b6c62fllvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

address review comments
DeltaFile
+3-2llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+3-21 files

LLVM/project 9a52253llvm/test/CodeGen/X86 argument-range-attr.ll

add test
DeltaFile
+123-0llvm/test/CodeGen/X86/argument-range-attr.ll
+123-01 files

LLVM/project 5b97b57llvm/test/CodeGen/AMDGPU bit-op-reduce-width-known-bits.ll

Apply suggestions from code review

Co-authored-by: Simon Pilgrim <git at redking.me.uk>
Co-authored-by: Iris Shi <0.0 at owo.li>
DeltaFile
+2-2llvm/test/CodeGen/AMDGPU/bit-op-reduce-width-known-bits.ll
+2-21 files

LLVM/project 7a90f7dllvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/test/CodeGen/X86 argument-range-attr.ll

address review comment
DeltaFile
+11-0llvm/test/CodeGen/X86/argument-range-attr.ll
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+12-12 files

LLVM/project 12ac449llvm/test/CodeGen/AMDGPU bit-op-reduce-width-known-bits.ll, llvm/test/CodeGen/X86 argument-range-attr.ll

update test
DeltaFile
+12-14llvm/test/CodeGen/X86/argument-range-attr.ll
+3-3llvm/test/CodeGen/AMDGPU/bit-op-reduce-width-known-bits.ll
+15-172 files

LLVM/project 6e48a7dllvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp SelectionDAGBuilder.h

[SelectionDAG] Emit `AssertZext` for function argument range attributes
DeltaFile
+6-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+2-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+8-12 files

LLVM/project 0237e9aflang/lib/Optimizer/Transforms FIRToMemRef.cpp, flang/test/Transforms/FIRToMemRef slice-projected.mlir

[flang][FIRToMemRef] [flang][fir-to-memref] Lower complex projected slices via memref<...x2xT> reinterpretation (#196123)

At the `fir.array_coor` site, reinterpret the
`memref<d0×...×complex<T>>` as `memref<d0×...×2×T>` via `fir.convert`,
then append the component index (0=re, 1=im) as the final memref index.
Loads and stores then operate directly on a scalar `T`-sized location.
DeltaFile
+110-44flang/test/Transforms/FIRToMemRef/slice-projected.mlir
+53-28flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+163-722 files

LLVM/project fca1083lldb/tools/driver Driver.cpp

[lldb] Handle SIGINT via the MainLoop signal thread (on POSIX) (#196687)

The driver's async SIGINT handler called
SBDebugger::DispatchInputInterrupt directly. That is not
async-signal-safe and can lead to a crash.

Register SIGINT with the existing signal-thread MainLoop instead so
DispatchInputInterrupt runs in normal thread context. The Windows path
is unchanged and keeps the legacy async handler.

While DispatchInputInterrupt runs, the callback temporarily installs
SIG_DFL so a second Ctrl-C still hard-terminates the process, preserving
the escape hatch users rely on when the debugger is unresponsive.

Moving SIGINT off the main thread means a Ctrl-C no longer interrupts
blocking syscalls there (e.g. a Python REPL waiting on input or
sleeping), so Python never observes the queued interrupt and
KeyboardInterrupt is not raised. To restore that behavior, after
dispatching the interrupt the callback re-raises SIGINT on the main

    [6 lines not shown]
DeltaFile
+56-4lldb/tools/driver/Driver.cpp
+56-41 files

LLVM/project bf0adaaclang/include/clang/Basic Builtins.td, compiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+269-4compiler-rt/lib/safestack/safestack.cpp
+171-0compiler-rt/test/safestack/sigaltstack.c
+6-0clang/include/clang/Basic/Builtins.td
+446-43 files

LLVM/project 3f8e889clang/include/clang/Basic Builtins.td, compiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+230-4compiler-rt/lib/safestack/safestack.cpp
+147-0compiler-rt/test/safestack/sigaltstack.c
+6-0clang/include/clang/Basic/Builtins.td
+383-43 files

LLVM/project 6c47c94clang/include/clang/Basic Builtins.td, compiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+230-4compiler-rt/lib/safestack/safestack.cpp
+147-0compiler-rt/test/safestack/sigaltstack.c
+6-0clang/include/clang/Basic/Builtins.td
+383-43 files

LLVM/project b5887a7clang/include/clang/Basic Builtins.td, compiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+147-0compiler-rt/test/safestack/sigaltstack.c
+92-4compiler-rt/lib/safestack/safestack.cpp
+6-0clang/include/clang/Basic/Builtins.td
+245-43 files

LLVM/project 162b90acompiler-rt/lib/safestack safestack.cpp, compiler-rt/test/safestack sigaltstack.c

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+123-0compiler-rt/test/safestack/sigaltstack.c
+17-4compiler-rt/lib/safestack/safestack.cpp
+140-42 files

LLVM/project 81ae2c4clang/include/clang/Basic Builtins.td, compiler-rt/lib/safestack safestack.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+147-0compiler-rt/test/safestack/sigaltstack.c
+92-4compiler-rt/lib/safestack/safestack.cpp
+6-0clang/include/clang/Basic/Builtins.td
+245-43 files

LLVM/project 64ed570compiler-rt/lib/safestack safestack.cpp, compiler-rt/test/safestack sigaltstack.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+123-0compiler-rt/test/safestack/sigaltstack.c
+17-4compiler-rt/lib/safestack/safestack.cpp
+140-42 files

LLVM/project 2fcf776clang/lib/Frontend ASTUnit.cpp, clang/test/Analysis/ctu reusable-pch.c

[clang] Forward `-fvalidate-ast-input-files-content` when loading AST dumps

`-fvalidate-ast-input-files-content` is silently ignored when loading
PCH files for additional translation units.

This triggers an import failure when modification time of some of input
files changes (for example, the AST dump is being reused for a
subsequent cross-translation-unit re-analysis with Clang Static Analyzer
after a fresh code checkout).
This makes it difficult to use cached AST dumps.

This patch enables the user to control validation of AST input files,
without imposing it on them.

--
CPP-8312, CPP-8025
DeltaFile
+49-0clang/test/Analysis/ctu/reusable-pch.c
+4-1clang/lib/Frontend/ASTUnit.cpp
+53-12 files

LLVM/project 35526e9llvm/test/CodeGen/AMDGPU bit-op-reduce-width-known-bits.ll

Apply suggestions from code review

Co-authored-by: Simon Pilgrim <git at redking.me.uk>
Co-authored-by: Iris Shi <0.0 at owo.li>
DeltaFile
+2-2llvm/test/CodeGen/AMDGPU/bit-op-reduce-width-known-bits.ll
+2-21 files

LLVM/project 2144d0allvm/lib/Target/SPIRV SPIRVBuiltins.cpp SPIRVBuiltins.td, llvm/test/CodeGen/SPIRV/instructions vector-floating-point-arithmetic.ll scalar-floating-point-arithmetic.ll

[SPIR-V] Add support for OpFMod intrinsic (#193172)

Add the `spv.fmod` intrinsic and lower it directly to `SPIRV::OpFMod`
covering scalar and vector cases
DeltaFile
+18-1llvm/test/CodeGen/SPIRV/instructions/vector-floating-point-arithmetic.ll
+18-0llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
+17-1llvm/test/CodeGen/SPIRV/instructions/scalar-floating-point-arithmetic.ll
+4-0llvm/lib/Target/SPIRV/SPIRVBuiltins.td
+57-24 files

LLVM/project 8d161aaflang/include/flang/Optimizer/Dialect FIROps.td FIROps.h, flang/lib/Optimizer/Dialect FIROps.cpp

[flang][mem2reg] promote memory slots through declares
DeltaFile
+195-16flang/test/Fir/mem2reg.mlir
+98-24flang/lib/Optimizer/Dialect/FIROps.cpp
+9-4flang/include/flang/Optimizer/Dialect/FIROps.td
+1-0flang/include/flang/Optimizer/Dialect/FIROps.h
+303-444 files

LLVM/project 7ed9e20clang/test/OpenMP declare_target_local_codegen.cpp, cross-project-tests/debuginfo-tests/dexter/dex/test_script Script.py Nodes.py

Merge branch 'main' into users/el-ev/_selectiondag_emit_assertzext_for_function_argument_range_attributes
DeltaFile
+573-578llvm/unittests/IR/LegacyPassManagerTest.cpp
+143-572flang/lib/Lower/Bridge.cpp
+430-0clang/test/OpenMP/declare_target_local_codegen.cpp
+238-0cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
+204-0cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+5-139flang/lib/Lower/Allocatable.cpp
+1,593-1,289105 files not shown
+3,370-1,824111 files

LLVM/project b49288fllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAGBuilder.cpp, llvm/test/CodeGen/X86 call-range-attr.ll

[SelectionDAG] Drop unnecessary lower bound check in `lowerRangeToAssertZExt` (#196785)

Drop the `Lo.isMinValue()` check in `lowerRangeToAssertZExt`.
                                                                  
The check was introduced in 2bba779272a2 when the bit width was computed
via `logBase2(Hi)`, which required `Lo == 0` for correctness. It is no
longer needed since 9e04befb0979 when we switched to
`getUnsignedMax().getActiveBits()` for bit width.


The change in `DAGCombiner.cpp` is to prevent a regression in
`llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll`. I wasn't able
to construct an individual test for it.

---------

Co-authored-by: nikic <github at npopov.com>
DeltaFile
+73-0llvm/test/CodeGen/X86/call-range-attr.ll
+4-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-4llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+77-43 files

LLVM/project ab963e8llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 abds.ll

[DAGCombiner] Fix abs(add) to abdu miscompile in foldABSToABD (#196782)

The abs(add(x, y)) → abdu(x, -y) fold added in #186659 is incorrect when
both operands are known non-negative and their sum does not overflow
signed.

When both x and y are non-negative and `x + y < 2^31`, `abs(x + y) = x +
y`, but `abdu(x, -y) = 2^32 - y - x ≠ x + y`.
For example, `abs(add(0, 1)) = 1`, but `abdu(0, -1) = 0xFFFFFFFF`. 

Related: #185467 #175801
DeltaFile
+26-0llvm/test/CodeGen/X86/abds.ll
+1-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+27-32 files

LLVM/project b4c9e71clang/lib/AST/ByteCode Opcodes.td, clang/test/AST/ByteCode fixed-point.cpp

[clang][bytecode] Allow IntAP(S) in CastIntegralFixedPoint op (#196949)
DeltaFile
+5-0clang/test/AST/ByteCode/fixed-point.cpp
+1-1clang/lib/AST/ByteCode/Opcodes.td
+6-12 files

LLVM/project c516344llvm/include/llvm/IR PassManager.h, llvm/test/Other lpm-require-analysis-optnone.ll

[PM] Make InvalidateAllAnalysesPass Optional (#196956)

Similar reasoning to 221a24e94f7b03ea881df34cc8867c58ac8fdb52. Making
this required means we end up with assertion failures in the LPM around
LCSSA.

This is a bit unfortunate given it would be nice to ensure we can
trivially invalidate analyses on optnone functions, but this matches the
old behavior and prevents and assertion failure for now.
DeltaFile
+1-1llvm/include/llvm/IR/PassManager.h
+1-0llvm/test/Other/lpm-require-analysis-optnone.ll
+2-12 files