LLVM/project 44199b4mlir/include/mlir/Dialect/Math/IR MathOps.td MathBase.td, mlir/lib/Conversion/MathToLLVM MathToLLVM.cpp

[mlir][math] Add rounding modes to `math.fma`
DeltaFile
+45-4mlir/include/mlir/Dialect/Math/IR/MathOps.td
+40-0mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
+37-2mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+8-2mlir/test/Dialect/Math/ops.mlir
+7-0mlir/include/mlir/Dialect/Math/IR/MathBase.td
+137-85 files

LLVM/project 26b7fd5llvm/lib/Transforms/Vectorize VPlanVerifier.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/VPlan vplan-print-after-all.ll

[VPlan] Support plain CFG plans in the verifier. (#181817)

Update the verifier to support verifying plain CFG plans in the verifier
and add missing support for switch opcodes in type analysis.

This allows the verifier to handle early plain-CFG plans, allowing using
RUN_PASS wrapper for early transforms.

PR: https://github.com/llvm/llvm-project/pull/181817
DeltaFile
+50-10llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+18-18llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+10-0llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+7-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-after-all.ll
+1-0llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
+86-285 files

LLVM/project d4974dfmlir/docs Canonicalization.md

[mlir][docs] Add poison example to canonicalization section (#192782)

Mention that folding to `ub.poison` is a common canonicalization.
DeltaFile
+2-0mlir/docs/Canonicalization.md
+2-01 files

LLVM/project 4327b91mlir/include/mlir/Dialect/Math/IR MathOps.td MathBase.td, mlir/lib/Conversion/MathToLLVM MathToLLVM.cpp

[mlir][math] Add rounding modes to `math.fma`
DeltaFile
+45-4mlir/include/mlir/Dialect/Math/IR/MathOps.td
+40-0mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
+37-2mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+7-0mlir/include/mlir/Dialect/Math/IR/MathBase.td
+6-0mlir/test/Dialect/Math/ops.mlir
+135-65 files

LLVM/project bd5b293mlir/lib/IR OperationSupport.cpp, mlir/test/Dialect/Func duplicate-function-elimination.mlir

[mlir] Support full commutative operation equality (#192652)

Previous, commutative equality only works if the operand lists are
exact permutations of one another.
By treating the `equivalentValues` map as a map onto a common set of
values, we can achieve full commutative equality.
DeltaFile
+28-0mlir/test/IR/operation-equality.mlir
+6-5mlir/lib/IR/OperationSupport.cpp
+2-3mlir/test/Dialect/Func/duplicate-function-elimination.mlir
+36-83 files

LLVM/project 5c723d8lldb/test/API/macosx/rosetta TestRosetta.py

[lldb][macOS] add additional logging print to TestRosetta (#192837)

to clearly show that we're executing x86_64 binaries in this debug
session.
DeltaFile
+1-0lldb/test/API/macosx/rosetta/TestRosetta.py
+1-01 files

LLVM/project d8c1433mlir/include/mlir/Bindings/Python Globals.h, mlir/lib/Bindings/Python IRCore.cpp Globals.cpp

[mlir][python] Add location source composition to loc_tracebacks() (#192310)

## Summary

Add two new kwargs to `loc_tracebacks()` controlling how the three
location sources (explicit `loc=`, traceback, `Location.current`)
compose:

- **`on_explicit`**: `OnExplicitAction.USE_EXPLICIT` (default) |
`OnExplicitAction.USE_TRACEBACK` — what to do when explicit `loc=` is
passed
- **`current_loc`**: `CurrentLocAction.FALLBACK` (default) |
`CurrentLocAction.NAMELOC_WRAP` — how to compose `Location.current`
NameLoc scopes on top

Both enums are exposed to Python via `nb::enum_<>` bindings, following
the `PassDisplayMode` pattern in `Pass.cpp`.

The two flags are orthogonal and only take effect when

    [24 lines not shown]
DeltaFile
+108-0mlir/test/python/ir/auto_location.py
+92-6mlir/lib/Bindings/Python/IRCore.cpp
+24-1mlir/python/mlir/ir.py
+24-0mlir/lib/Bindings/Python/Globals.cpp
+24-0mlir/include/mlir/Bindings/Python/Globals.h
+272-75 files

LLVM/project 2a3667blldb/test/API/macosx/rosetta TestRosetta.py

Revert "[lldb][CI] force TestRosetta.py to fail for a minute, so I (#… (#192836)

…192835)"

This reverts commit 8de4c61386b3f94ad77060c1047d7cc4c979415c.
DeltaFile
+0-1lldb/test/API/macosx/rosetta/TestRosetta.py
+0-11 files

LLVM/project 8de4c61lldb/test/API/macosx/rosetta TestRosetta.py

[lldb][CI] force TestRosetta.py to fail for a minute, so I (#192835)

can collect the trace logging on the CI bot and see what its environment
looks like today.
DeltaFile
+1-0lldb/test/API/macosx/rosetta/TestRosetta.py
+1-01 files

LLVM/project 1980cacllvm/lib/CodeGen MachineBlockHashInfo.cpp

include

Created using spr 1.3.7
DeltaFile
+1-0llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+1-01 files

LLVM/project 4c11ef7llvm/lib/CodeGen MachineBlockHashInfo.cpp

fix

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+1-11 files

LLVM/project e014f9clldb/include/lldb/Core Debugger.h, lldb/source/Core Debugger.cpp

rebase

Created using spr 1.3.7
DeltaFile
+27-17llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+33-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+24-0lldb/source/Target/Target.cpp
+18-0lldb/unittests/Platform/PlatformDarwinTest.cpp
+1-13lldb/source/Core/Debugger.cpp
+3-8lldb/include/lldb/Core/Debugger.h
+106-3810 files not shown
+132-4716 files

LLVM/project bb461belldb/include/lldb/Core Debugger.h, lldb/include/lldb/Target Platform.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+33-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+24-0lldb/source/Target/Target.cpp
+18-0lldb/unittests/Platform/PlatformDarwinTest.cpp
+1-13lldb/source/Core/Debugger.cpp
+3-8lldb/include/lldb/Core/Debugger.h
+7-0lldb/include/lldb/Target/Platform.h
+86-219 files not shown
+105-3015 files

LLVM/project ce27dccllvm/lib/CodeGen MachineBlockHashInfo.cpp

[NFC][CodeGen] Make a few MachineBlockHashInfo functions static (#192825)
DeltaFile
+2-2llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+2-21 files

LLVM/project 4cf7796llvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Mark DerivedIV unconditionally single-scalar (NFC) (#189706)

The result must be single-scalar, independently of operands. The patch
is an NFC because all operands happen to be single-scalar currently.
DeltaFile
+2-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+2-21 files

LLVM/project 3963b90lldb/include/lldb/Core Debugger.h, lldb/include/lldb/Target Platform.h

rebase

Created using spr 1.3.7
DeltaFile
+33-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+24-0lldb/source/Target/Target.cpp
+18-0lldb/unittests/Platform/PlatformDarwinTest.cpp
+1-13lldb/source/Core/Debugger.cpp
+3-8lldb/include/lldb/Core/Debugger.h
+7-0lldb/include/lldb/Target/Platform.h
+86-218 files not shown
+103-2814 files

LLVM/project 288f7d0lldb/include/lldb/Core Debugger.h, lldb/include/lldb/Target Platform.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+33-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+24-0lldb/source/Target/Target.cpp
+18-0lldb/unittests/Platform/PlatformDarwinTest.cpp
+1-13lldb/source/Core/Debugger.cpp
+3-8lldb/include/lldb/Core/Debugger.h
+7-0lldb/include/lldb/Target/Platform.h
+86-218 files not shown
+103-2814 files

LLVM/project f7abe26llvm/lib/CodeGen BasicBlockMatchingAndInference.cpp

[NFC][CodeGen] Use DenseMap instead of unordered_map in BasicBlockMatchingAndInference (#192824)

We don't need reference stability of unordered_map here.
DeltaFile
+2-2llvm/lib/CodeGen/BasicBlockMatchingAndInference.cpp
+2-21 files

LLVM/project c4906b0llvm/test/Transforms/LoopStrengthReduce wrong-hoisting-iv.ll uglygep.ll

fix

Created using spr 1.3.7
DeltaFile
+3-2llvm/test/Transforms/LoopStrengthReduce/wrong-hoisting-iv.ll
+2-1llvm/test/Transforms/LoopStrengthReduce/uglygep.ll
+5-32 files

LLVM/project 112d7e9llvm/test/Transforms/LoopStrengthReduce wrong-hoisting-iv.ll uglygep.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-2llvm/test/Transforms/LoopStrengthReduce/wrong-hoisting-iv.ll
+2-1llvm/test/Transforms/LoopStrengthReduce/uglygep.ll
+5-32 files

LLVM/project e14ddafllvm/test/Transforms/LoopStrengthReduce wrong-hoisting-iv.ll uglygep.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-2llvm/test/Transforms/LoopStrengthReduce/wrong-hoisting-iv.ll
+2-1llvm/test/Transforms/LoopStrengthReduce/uglygep.ll
+5-32 files

LLVM/project 58a322ellvm/test/Transforms/LoopStrengthReduce wrong-hoisting-iv.ll uglygep.ll

fix

Created using spr 1.3.7
DeltaFile
+3-2llvm/test/Transforms/LoopStrengthReduce/wrong-hoisting-iv.ll
+2-1llvm/test/Transforms/LoopStrengthReduce/uglygep.ll
+5-32 files

LLVM/project 85c72a3llvm/test/Transforms/LoopStrengthReduce wrong-hoisting-iv.ll uglygep.ll

fix

Created using spr 1.3.7
DeltaFile
+3-2llvm/test/Transforms/LoopStrengthReduce/wrong-hoisting-iv.ll
+2-1llvm/test/Transforms/LoopStrengthReduce/uglygep.ll
+5-32 files

LLVM/project 8225bcclldb/include/lldb/Target Platform.h, lldb/source/Plugins/Platform/MacOSX PlatformDarwin.cpp PlatformDarwin.h

[lldb][PlatformDarwin] Make PlatformDarwin define a safe-path for auto-loading scripting resources (#191454)

This patch adds a new API (`Platform::GetSafeAutoLoadPaths`) which gives
platforms a chance to advertise their safe-paths. We have a
`LLDB_SAFE_AUTO_LOAD_PATHS` CMake variable for this that vendors can
set, but for sensible defaults we wanted to bake them into LLDB for
convenience. We could set the defaults of the CMake variable
per-platform, but for Apple platforms that's trickier because the path
isn't statically known (it's the SDK path derived from the target's
triple).

Depends on:
* https://github.com/llvm/llvm-project/pull/191446
* https://github.com/llvm/llvm-project/pull/192703

Assisted-by: Claude
- Used Claude to write the skeleton of the test before manually cleaning
it up.
DeltaFile
+33-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+18-0lldb/unittests/Platform/PlatformDarwinTest.cpp
+12-0lldb/source/Target/Target.cpp
+7-0lldb/include/lldb/Target/Platform.h
+3-0lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
+1-0lldb/unittests/Platform/CMakeLists.txt
+74-01 files not shown
+75-07 files

LLVM/project 8551889llvm/test/CodeGen/AArch64 ragreedy-csr.ll, llvm/test/CodeGen/X86 lsr-addrecloops.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+257-94llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll
+111-116llvm/test/CodeGen/AArch64/ragreedy-csr.ll
+203-0llvm/test/Transforms/LoopStrengthReduce/X86/lcssa-preservation-regression.ll
+70-37llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+84-5llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
+34-37llvm/test/CodeGen/X86/lsr-addrecloops.ll
+759-28943 files not shown
+1,032-43749 files

LLVM/project beda720llvm/test/CodeGen/AArch64 ragreedy-csr.ll, llvm/test/CodeGen/X86 lsr-addrecloops.ll

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+257-94llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll
+111-116llvm/test/CodeGen/AArch64/ragreedy-csr.ll
+159-0llvm/test/Transforms/LoopStrengthReduce/X86/lcssa-preservation-regression.ll
+70-37llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+84-5llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
+34-37llvm/test/CodeGen/X86/lsr-addrecloops.ll
+715-28942 files not shown
+986-43748 files

LLVM/project 404b756lldb/include/lldb/Core Debugger.h, lldb/include/lldb/Target Target.h

[lldb][Target] Move Debugger::GetSafeAutoLoadPaths into Target (#192703)

Required for https://github.com/llvm/llvm-project/pull/191454

We want to make the `Target`/`Platform` define commonly used default
paths (without configuring them in CMake). This is easiest if this logic
lived in `Target` (since then we have access to the associated
`Platform`).
DeltaFile
+1-13lldb/source/Core/Debugger.cpp
+12-0lldb/source/Target/Target.cpp
+3-8lldb/include/lldb/Core/Debugger.h
+6-0lldb/include/lldb/Target/Target.h
+1-1lldb/source/Target/Platform.cpp
+23-225 files

LLVM/project e77c115clang/lib/AST/ByteCode Compiler.cpp, lldb/source/Plugins/ABI/AArch64 ABIMacOSX_arm64.cpp

rebase

Created using spr 1.3.7
DeltaFile
+2-3llvm/test/tools/llvm-ar/error-opening-directory.test
+2-2clang/lib/AST/ByteCode/Compiler.cpp
+1-1lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
+5-63 files

LLVM/project 99a2947clang/lib/AST/ByteCode Compiler.cpp, lldb/source/Plugins/ABI/AArch64 ABIMacOSX_arm64.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+2-3llvm/test/tools/llvm-ar/error-opening-directory.test
+2-2clang/lib/AST/ByteCode/Compiler.cpp
+1-1lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
+5-63 files

LLVM/project 4113d79llvm/lib/CodeGen MachineBlockHashInfo.cpp

[NFC][CodeGen] Optimize hash table lookups in MachineBlockHashInfo (#192823)
DeltaFile
+7-6llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+7-61 files