SuccessChanges

Summary

  1. [Analysis] Use ListSeparator (NFC) (details)
  2. [llvm] Use llvm::drop_begin (NFC) (details)
  3. [Analysis] Use range-based for loops (NFC) (details)
  4. Only verify LazyCallGraph under expensive checks (details)
  5. [BuildLibCalls] Add noundef to allocator fns' size (details)
  6. [libc][NFC] Eliminate couple of dependencies on llvm/ADT/StringExtras.h. (details)
  7. Move the MLIR integration tests as a subdirectory of test (NFC) (details)
Commit 871affc5e779b6004d8fe8071a3b1a353c5ca8a0 by kazu
[Analysis] Use ListSeparator (NFC)
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
Commit 4ed47858ab7683729827af80c7b791c23249e627 by kazu
[llvm] Use llvm::drop_begin (NFC)
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 896d0e1a2a79caad35ede3385bbcfd7fe0702b43 by kazu
[Analysis] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Analysis/DivergenceAnalysis.cpp
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was modifiedllvm/lib/Analysis/AliasSetTracker.cpp
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
Commit 468fa037b2a15a40f17329a995d058dda6049d28 by aeubanks
Only verify LazyCallGraph under expensive checks

These verify calls are causing a lot of slowdown on some files, up to 8x.
The LazyCallGraph infra has been tested a lot over the years, so I'm fairly confident that we don't always need to run the verifys.

These verifies took >90% of total time in one of the compilations I looked at.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D97225
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
Commit 481c62277d5669e15e6a0ec14240c5f5410ca954 by aqjune
[BuildLibCalls] Add noundef to allocator fns' size

This is a patch to explicitly mark the size parameter of allocator functions like malloc/realloc/... as noundef.

For C/C++: undef can be created from reading an uninitialized variable or padding.
Calling a function with uninitialized variable is already UB.
Calling malloc with padding value is.. something that's not expected. Padding bits may appear in a coerced aggregate, which doesn't apply to malloc's size.
Therefore, malloc's size can be marked as noundef.

For transformations that introduce malloc/realloc/..: I ran LLVM unit tests with an updated Alive2 semantics, and found no regression, so it seems okay.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D97045
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/annotate.ll
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
Commit 881402ce62f7dbcf9704787b5d5d3ed691a30730 by sivachandra
[libc][NFC] Eliminate couple of dependencies on llvm/ADT/StringExtras.h.
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was modifiedlibc/utils/FPUtil/TestHelpers.cpp
Commit 99b0032ce0b8afa67a36da2b8c02cfcacdc561d1 by joker.eph
Move the MLIR integration tests as a subdirectory of test (NFC)

This does not change the behavior directly: the tests only run when
`-DMLIR_INCLUDE_INTEGRATION_TESTS=ON` is configured. However running
`ninja check-mlir` will not run all the tests within a single
lit invocation. The previous behavior would wait for all the integration
tests to complete before starting to run the first regular test. The
test results were also reported separately. This change is unifying all
of this and allow concurrent execution of the integration tests with
regular non-regression and unit-tests.

Differential Revision: https://reviews.llvm.org/D97241
The file was removedmlir/integration_test/data/test.tns
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
The file was removedmlir/integration_test/Dialect/Async/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-input-ndhwc-filter-dhwcf-call.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/matmul-vs-matvec.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-input-nwc-filter-wcf-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
The file was addedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
The file was removedmlir/integration_test/Dialect/Standard/CPU/test-ceil-floor-pos-neg.mlir
The file was removedmlir/integration_test/lit.cfg.py
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-extract-strided-slice.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/rank-reducing-subview.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-input-nchw-filter-hwcf-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-insert-slices.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-shape-cast.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-call.mlir
The file was removedmlir/integration_test/CMakeLists.txt
The file was addedmlir/test/Integration/Dialect/Vector/CPU/AVX512/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-outerproduct-f32.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
The file was addedmlir/test/Integration/Sparse/CPU/sparse_sum.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-i4.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-print-int.mlir
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir
The file was removedmlir/integration_test/Dialect/LLVMIR/CPU/X86/test-inline-asm.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-input-nwc-filter-wcf-call.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-elementwise.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-ui4.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ndhwc-call.mlir
The file was removedmlir/integration_test/Sparse/CPU/matrix-market-example.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-ncw-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-input-nchw-filter-hwcf-call.mlir
The file was addedmlir/test/Integration/Dialect/Async/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-input-nhwc-filter-hwcf-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
The file was addedmlir/test/Integration/Sparse/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/rank-reducing-subview.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-expand.mlir
The file was removedmlir/integration_test/Sparse/CPU/sparse_sum.mlir
The file was addedmlir/test/Integration/lit.local.cfg
The file was removedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir
The file was addedmlir/test/Integration/Sparse/CPU/matrix-market-example.mlir
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul_i8_i8_i32.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-constant-mask.mlir
The file was removedmlir/integration_test/Dialect/LLVMIR/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/matmul-vs-matvec.mlir
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/test-vector-reductions-int.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-nchw-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-input-ncw-filter-wcf-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/AVX512/test-vp2intersect-i32.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-f64.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-input-ncdhw-filter-dhwcf-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-fma.mlir
The file was modifiedmlir/CMakeLists.txt
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
The file was removedmlir/integration_test/Sparse/CPU/sparse_sampled_matmul.mlir
The file was addedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
The file was removedmlir/integration_test/Sparse/CPU/frostt-example.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-i32.mlir
The file was removedmlir/integration_test/Dialect/Standard/CPU/test_subview.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-tensor-e2e.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-ncdhw-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nchw-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-vector-distribute.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-input-ncdhw-filter-dhwcf-call.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-transfer-read.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-tensor-e2e.mlir
The file was addedmlir/test/Integration/Sparse/CPU/frostt-example.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-compress.mlir
The file was removedmlir/integration_test/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_column_major_as_row_major.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-maskedstore.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-transfer-write.mlir
The file was addedmlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
The file was removedmlir/integration_test/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
The file was removedmlir/integration_test/data/test.mtx
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-f32.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-transfer-read-2d.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Standard/CPU/test_subview.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-transpose.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/AVX512/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-extract-slices.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-insert-slices.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-gather.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-si4.mlir
The file was addedmlir/test/Integration/Sparse/CPU/sparse_sampled_matmul.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-maskedload.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-transfer-to-loops.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-outerproduct-i64.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-nwc-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
The file was removedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-int.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-input-nhwc-filter-hwcf-call.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-ndhwc-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nhwc-call.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/benchmark_matmul_i8_i8_i32.mlir
The file was removedmlir/integration_test/Sparse/CPU/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/Vector/CPU/lit.local.cfg
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-scatter.mlir
The file was addedmlir/test/Integration/data/test.tns
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-input-ncw-filter-wcf-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-contraction.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-flat-transpose-row.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-insert-strided-slice.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul_column_major_as_row_major.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
The file was addedmlir/test/Integration/Dialect/Standard/CPU/test-ceil-floor-pos-neg.mlir
The file was removedmlir/integration_test/lit.site.cfg.py.in
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-subtensor-insert.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-elementwise.mlir
The file was removedmlir/integration_test/Dialect/LLVMIR/CPU/X86/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/X86/lit.local.cfg
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-input-ndhwc-filter-dhwcf-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-create-mask.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-nhwc-call.mlir
The file was modifiedmlir/test/CMakeLists.txt
The file was removedmlir/integration_test/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
The file was modifiedmlir/test/lit.cfg.py
The file was addedmlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-ncw-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-flat-transpose-col.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-broadcast.mlir
The file was modifiedmlir/test/lit.site.cfg.py.in
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-extract-slices.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-shuffle.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ncdhw-call.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul_column_major.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/AVX512/test-vp2intersect-i32.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-vector-distribute.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-call.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-reductions-i64.mlir
The file was addedmlir/test/Integration/data/test.mtx
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-nwc-call.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
The file was removedmlir/integration_test/Dialect/Linalg/CPU/test-tensor-matmul.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
The file was removedmlir/integration_test/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir

Summary

  1. [test-suite] Raise minimum required CMake version to match LLVM. (details)
Commit 0b0305c689d973362dee689cadb1bb21ce4a82f2 by naromero
[test-suite] Raise minimum required CMake version to match LLVM.

Test-suite was using an old version of CMake. Raise minimum CMake version to match minimum required by LLVM. Additionally, the Fortran Test Suite requires at least 3.7 due to Ninja.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D97248
The file was modifiedCMakeLists.txt (diff)