LLVM/project b9c01fallvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Change the cost model to interchange `[* =]`
DeltaFile
+30-53llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+33-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+63-552 files

LLVM/project 2094b39llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Add test with dependency `[* =]` and `[= *]` (NFC)
DeltaFile
+117-0llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+117-01 files

LLVM/project 094b18cllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-vectorization.ll delay-cachecost-calculation.ll

[LoopInterchange] Disable LoopCacheAnalysis-based heuristic by default
DeltaFile
+3-3llvm/test/Transforms/LoopInterchange/profitability-vectorization.ll
+1-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+1-1llvm/test/Transforms/LoopInterchange/delay-cachecost-calculation.ll
+1-1llvm/test/Transforms/LoopInterchange/lcssa-phi-outer-latch.ll
+1-1llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
+1-1llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll
+8-91 files not shown
+9-107 files

LLVM/project a5b533fllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll pr43176-move-to-new-latch.ll

[LoopInterchange] Relax legality check to accept more patterns
DeltaFile
+103-42llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+15-0llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+8-6llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
+4-6llvm/test/Transforms/LoopInterchange/inner-only-reductions.ll
+6-3llvm/test/Transforms/LoopInterchange/legality-check.ll
+4-4llvm/test/Transforms/LoopInterchange/large-nested-6d.ll
+140-611 files not shown
+140-697 files

LLVM/project 72af9c1llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Take base pointer into account in profitability check
DeltaFile
+18-7llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+7-17llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+25-242 files

LLVM/project 4fb12d2llvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Add test for multiple accesses to same base ptr (NFC)
DeltaFile
+86-2llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+86-21 files

LLVM/project 0b46c81llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-instorder.ll

update
DeltaFile
+30-28llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+28-28llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+58-562 files

LLVM/project 4b78787clang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/include/mlir/Interfaces ControlFlowInterfaces.td ControlFlowInterfaces.h

[mlir][Interfaces] Use single interface method to query region-based control flow
DeltaFile
+40-40mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+43-19mlir/lib/Dialect/SCF/IR/SCF.cpp
+46-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+28-10mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+17-4mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+0-17clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+174-909 files not shown
+210-10615 files

LLVM/project a166f0bllvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp, llvm/test/CodeGen/AMDGPU load-constant-i1.ll sra.ll

[AMDGPU] performSraCombine - SRA(X,BW-1) - don't freeze HI operand for single (repeated) shift (#193468)

When splitting i64 SRA(X,BW-1) sign splat shifts, don't both freezing the HI upper i32 as only a single (repeated) shift will be generated

Noticed in a regression in #188206
DeltaFile
+318-320llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+28-25llvm/test/CodeGen/AMDGPU/sra.ll
+9-19llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
+9-3llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+364-3674 files

LLVM/project fa6b47cclang/include/clang/Analysis/Analyses/LifetimeSafety Loans.h, clang/include/clang/Basic DiagnosticGroups.td

Revert "[LifetimeSafety] Add support for `new`/`delete` (#192504)"

This reverts commit b1175088531de1a3bae9942ef50d880fab6fe144.
DeltaFile
+0-230clang/test/Sema/warn-lifetime-safety.cpp
+0-50clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+0-32clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+10-21clang/lib/Sema/SemaLifetimeSafety.h
+5-12clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+2-10clang/include/clang/Basic/DiagnosticGroups.td
+17-3557 files not shown
+23-37513 files

LLVM/project d88a8a1clang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/include/mlir/Interfaces ControlFlowInterfaces.td ControlFlowInterfaces.h

[mlir][Interfaces] Use single interface method to query region-based control flow
DeltaFile
+40-40mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+43-19mlir/lib/Dialect/SCF/IR/SCF.cpp
+19-27clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+46-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+28-10mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+17-4mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+193-1009 files not shown
+229-11615 files

LLVM/project 2495863llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Add test with dependency `[* =]` and `[= *]` (NFC)
DeltaFile
+117-0llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+117-01 files

LLVM/project cdef7e6llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Take base pointer into account in profitability check
DeltaFile
+18-7llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+7-17llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+25-242 files

LLVM/project ab3e820llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Change the cost model to interchange `[* =]`
DeltaFile
+30-53llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+33-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+63-552 files

LLVM/project cd04215llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll pr43176-move-to-new-latch.ll

[LoopInterchange] Relax legality check to accept more patterns
DeltaFile
+103-42llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+15-0llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+8-6llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
+4-6llvm/test/Transforms/LoopInterchange/inner-only-reductions.ll
+6-3llvm/test/Transforms/LoopInterchange/legality-check.ll
+0-8llvm/test/Transforms/LoopInterchange/innermost-latch-uses-values-in-middle-header.ll
+136-651 files not shown
+140-697 files

LLVM/project 5fd8303llvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Add test for multiple accesses to same base ptr (NFC)
DeltaFile
+96-12llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+96-121 files

LLVM/project 5bba0dbllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-vectorization.ll lcssa-phi-outer-latch.ll

[LoopInterchange] Disable LoopCacheAnalysis-based heuristic by default
DeltaFile
+3-3llvm/test/Transforms/LoopInterchange/profitability-vectorization.ll
+1-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+1-1llvm/test/Transforms/LoopInterchange/lcssa-phi-outer-latch.ll
+1-1llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
+1-1llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll
+1-1llvm/test/Transforms/LoopInterchange/pr57148.ll
+8-91 files not shown
+9-107 files

LLVM/project a12ebf7llvm/lib/Transforms/Scalar LoopInterchange.cpp

update
DeltaFile
+30-28llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+30-281 files

LLVM/project 567583cclang/test/CodeGen/SystemZ builtins-systemz-zvector.c builtins-systemz-vector.c

[Clang][SystemZ] Fix unwanted unsequenced volatile accesses in codegen tests (#190212)

This PR  fix(as I hope)  #186584 

For fix I write one-use program that found and renamed volatile var in
funcall. After use tests seems valid(but more verbose) and it's pass.

Link to script: https://pastebin.com/QR71We5b
DeltaFile
+897-867clang/test/CodeGen/SystemZ/builtins-systemz-zvector.c
+220-200clang/test/CodeGen/SystemZ/builtins-systemz-vector.c
+165-146clang/test/CodeGen/SystemZ/builtins-systemz-zvector2.c
+148-116clang/test/CodeGen/SystemZ/builtins-systemz-zvector5.c
+84-80clang/test/CodeGen/SystemZ/builtins-systemz-i128.c
+82-66clang/test/CodeGen/SystemZ/builtins-systemz-zvector3.c
+1,596-1,47510 files not shown
+1,873-1,71816 files

LLVM/project b965d52llvm/lib/CodeGen/GlobalISel InstructionSelect.cpp

[LLVM][GlobalISel] Remove unnecessary comment (#193333)

Remove unnecessary FIXME from
`InstructionSelect.cpp:selectMachineFunction()`.
Reference: [[LLVM][GlobalISel] Support Blocks Created During Instruction
Selection #192625](https://github.com/llvm/llvm-project/pull/192625)
DeltaFile
+1-2llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
+1-21 files

LLVM/project 2c8d22dclang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/include/mlir/Interfaces ControlFlowInterfaces.td ControlFlowInterfaces.h

[mlir][Interfaces] Use single interface method to query region-based control flow
DeltaFile
+56-54mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+43-19mlir/lib/Dialect/SCF/IR/SCF.cpp
+62-0mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+19-27clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+13-10mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+17-4mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+210-1149 files not shown
+246-13015 files

LLVM/project c80aca5llvm/lib/Debuginfod Debuginfod.cpp

Review: debuginfod, warn but not fail
DeltaFile
+3-1llvm/lib/Debuginfod/Debuginfod.cpp
+3-11 files

LLVM/project 90cb394llvm/include/llvm/Support CachePruning.h

Review: move the on failure line
DeltaFile
+2-2llvm/include/llvm/Support/CachePruning.h
+2-21 files

LLVM/project f418a7bllvm/lib/Debuginfod Debuginfod.cpp, llvm/lib/LTO ThinLTOCodeGenerator.cpp

Review: ErrOrPruned->PrunedOrErr
DeltaFile
+3-3llvm/lib/Debuginfod/Debuginfod.cpp
+3-3llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+6-62 files

LLVM/project 695a2ccllvm/lib/Support CachePruning.cpp

Review: More verbose error on disk space failure
DeltaFile
+7-5llvm/lib/Support/CachePruning.cpp
+7-51 files

LLVM/project 2f0b934llvm/include/llvm/Support CachePruning.h

Review: typo Peform->Perform
DeltaFile
+1-1llvm/include/llvm/Support/CachePruning.h
+1-11 files

LLVM/project 666c568llvm/lib/Debuginfod Debuginfod.cpp, llvm/lib/LTO ThinLTOCodeGenerator.cpp

Review: no-auto, use Expected<bool>
DeltaFile
+2-1llvm/lib/Debuginfod/Debuginfod.cpp
+1-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+3-22 files

LLVM/project f8c660flldb/source/Core DataFileCache.cpp

Missing LLDB side
DeltaFile
+6-1lldb/source/Core/DataFileCache.cpp
+6-11 files

LLVM/project 1a67675lld/ELF LTO.cpp, lld/wasm LTO.cpp

[Support][Cache] Make `pruneCache` return an `Expected`

When `sys::fs::disk_space` would fail in during a call to `pruneCache`,
it would report a `fatal_error`. However, a failure to prune doesn't
mean the caller should fail catastrophically.

Downstream, we use LLVM's cache in the OpenCL runtime. A failure to prune
the cache can be safely ignored without stopping the user's application.
DeltaFile
+4-4llvm/lib/Support/CachePruning.cpp
+5-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+4-1llvm/lib/Debuginfod/Debuginfod.cpp
+3-1llvm/include/llvm/Support/CachePruning.h
+2-1lld/wasm/LTO.cpp
+2-1lld/ELF/LTO.cpp
+20-93 files not shown
+24-129 files

LLVM/project 6ec142fllvm/lib/LTO ThinLTOCodeGenerator.cpp

Extra )
DeltaFile
+2-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+2-11 files