Changes

Summary

  1. precommit test for D109845/D106852 (details)
  2. [InstCombine] Improve TryToSinkInstruction with multiple uses (details)
  3. Improve type printing of size-dependent const arrays to normalize array-of-const and const-array (details)
  4. Revert "Re-Revert "clang-tidy: introduce readability-containter-data-pointer check"" (details)
  5. [OpenMP][libomptarget] Minor fix in x86_64 plugin (details)
  6. Senticify some comments - post-commit review for e4b9f5e851d1fe0ba93cbb11b2ed4558602c379e (details)
  7. Re-add getSingleUndroppableUse API (details)
  8. [mlir][linalg] Add canonicalizers for depthwise conv (details)
  9. [Compiler-RT] For arm64e test suites use the SDK version as the minimum deployment target. (details)
  10. [DRR] Explicit Return Types in Rewrites (details)
  11. SplitKit: Remove decade old live interval hack (details)
  12. Revert use of getUniqueUndroppableUser in AssumeBundleBuilder (details)
  13. NFC: DWARFTypePrinter: Remove "type" from member function names to reduce redundancy (details)
  14. [clang-format] Top-level unwrapped lines don't follow a left brace (details)
  15. Revert "[InstCombine] Improve TryToSinkInstruction with multiple uses" (details)
  16. Teach SimplifyCFG to fold switches into lookup tables in more cases. (details)
  17. [Polly] Remove autotools build systems from Externals. NFC. (details)
  18. [gn build] Port d249200fa7d5 (details)
  19. [NFC] Split up PassBuilder.cpp (details)
  20. [test] Move some llvm-extract tests into the proper directory (details)
  21. PR51874: Fix diagnostics for defaulted, implicitly deleted 'operator!='. (details)
  22. [MemProf] Avoid global lock when updating MIB cache (details)
  23. [lldb-vscode] Fix focus thread when previous thread exits (details)
  24. [MemProf] Fix format warnings (details)
  25. [GlobalISel] Fix CombinerHelper::isPredecessor for same def/use MI. (details)
  26. [AArch64][GlobalISel] Use MI::getIntrinsicID in more spots. NFC. (details)
  27. [AArch64][GlobalISel] Ensure atomic loads always get assigned GPR destinations (details)
  28. [Transforms] Use make_early_inc_range (NFC) (details)
  29. [mlir][sparse] add affine subscripts to sparse compilation pass (details)
  30. Delete unused GlobalIndirectSymbol::getBaseObject overloads (details)
Commit 248e430f37c8486e526147c5e6b8cbda1e633467 by listmail
precommit test for D109845/D106852
The file was modifiedllvm/test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll (diff)
Commit 4ac4e52189aa6d80c3d59dc2c8f7dcc0cb7f9d58 by anna
[InstCombine] Improve TryToSinkInstruction with multiple uses

This patch allows sinking an instruction which can have multiple uses in a
single user. We were previously over-restrictive by looking for exactly one use,
rather than one user.

Also, the API for retrieving undroppable user has been updated accordingly since
in both usecases (Attributor and InstCombine), we seem to care about the user,
rather than the use.

Reviewed-By: nikic

Differential Revision: https://reviews.llvm.org/D109700
The file was modifiedllvm/test/Transforms/InstCombine/icmp-mul-zext.ll (diff)
The file was modifiedllvm/include/llvm/IR/Value.h (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/lib/IR/Value.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/sink_instruction.ll (diff)
Commit 40acc0adad59ac39e9a7a02fcd93161298500c00 by dblaikie
Improve type printing of size-dependent const arrays to normalize array-of-const and const-array

Follow-on from 2bd84938470bf2e337801faafb8a67710f46429d based on
postcommit feedback from Richard Smith.

The VariableArray case I couldn't figure out how to test/provoke - you
can't write/form a variable array in any context other than a local
variable that I know of, and in that case `const int x[n]` is the
normalized form already (array-of-const) and you can't use typedefs
(since you can't typedef int[n] with variable 'n') to force the
const-array AST that would produce the undesirable type printing "int
const [n]".
The file was modifiedclang/lib/AST/TypePrinter.cpp (diff)
The file was modifiedclang/test/AST/ast-dump-array.cpp (diff)
Commit d249200fa7d540fb0b3ddc065575293e1da11107 by Saleem Abdulrasool
Revert "Re-Revert "clang-tidy: introduce readability-containter-data-pointer check""

This reverts commit 626586fc253c6f032aedb325dba6b1ff3f11875e.

Tweak the test for Windows.  Windows defaults to delayed template
parsing, which resulted in the main template definition not registering
the test on Windows.  Process the file with the additional
`-fno-delayed-template-parsing` flag to change the default beahviour.
Additionally, add an extra check for the fix it and use a more robust
test to ensure that the value is always evaluated.

Differential Revision: https://reviews.llvm.org/D108893
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-container-data-pointer.cpp
The file was addedclang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp (diff)
The file was addedclang-tools-extra/docs/clang-tidy/checks/readability-data-pointer.rst
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt (diff)
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst (diff)
The file was addedclang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.cpp
Commit ae2a5facce96dfe1efcb7111ee1ef0d91c956276 by hansang.bae
[OpenMP][libomptarget] Minor fix in x86_64 plugin

Call to remove() was passing invalid address for the file name.

Differential Revision: https://reviews.llvm.org/D109846
The file was modifiedopenmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp (diff)
Commit 8264846c0ef847adeacca9b8fe0f867a8a378c5e by dblaikie
Senticify some comments - post-commit review for e4b9f5e851d1fe0ba93cbb11b2ed4558602c379e

Based on feedback from Paul Robinson.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp (diff)
Commit 3273430406c186f1f2af597adeedf21d4fa52b18 by anna
Re-add getSingleUndroppableUse API

The API was removed in 4ac4e52189aa in favor of
getUniqueUndroppableUser.
However, this caused a buildbot failure in AbstractCallSiteTest.cpp,
which uses the API and the AbstractCallSite class requires a "use"
rather than a user.
Retain the API so that the unittest compiles and passes.
The file was modifiedllvm/lib/IR/Value.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Value.h (diff)
Commit 1ac2d195ecb5d4c549c11b9c1df00179f5fea7ed by rob.suderman
[mlir][linalg] Add canonicalizers for depthwise conv

There are two main versions of depthwise conv depending whether the multiplier
is 1 or not. In cases where m == 1 we should use the version without the
multiplier channel as it can perform greater optimization.

Add lowering for the quantized/float versions to have a multiplier of one.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D108959
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir (diff)
Commit f4382d4b0972ac31a2027610adfb9d4dc36caa2e by Dan Liew
[Compiler-RT] For arm64e test suites use the SDK version as the minimum deployment target.

Previously we used the minimum deployment target used for the platform
(e.g. iOS is 9.0). Unfortunately this leads to ABI incompatibilities with
arm64e devices running newer OSs. In particular the following TSan test
cases that used libcxx would fail due to the ABI mismatch.

* Darwin/libcxx-shared-ptr-recursive.mm
* Darwin/libcxx-shared-ptr-stress.mm
* Darwin/libcxx-shared-ptr.mm
* libcxx/std_shared_ptr.cpp

Given that arm64e is not ABI stable we should ideally match the
deployment target for sanitizer runtimes and their tests cases to the
device when building for arm64e. Unfortunately having a mixed deployment
target (based on architecture) isn't currently supported by the build system
and is non-trivial to implement.

As a stop-gap measure this patch changes the sanitizer test suites (but not the
sanitizer runtimes themselves) to use a newer deployment target when
targetting arm64e.

The deployment target used for arm64e is the SDK version because this
"should" match the OS version running on the target device (it is a
configuration error to not match them).

rdar://83080611
The file was modifiedcompiler-rt/cmake/config-ix.cmake (diff)
Commit cb8c30d35dc9eedca4b8073e96f06e9ce8f12192 by jpienaar
[DRR] Explicit Return Types in Rewrites

Adds a new rewrite directive returnType that can be added at the end of an op's
argument list to explicitly specify return types.

```
(OpX $v0, $v1, (returnType "$_builder.getI32Type()"))
```

Pass in a bound value to copy its return type, or pass a native code call to
dynamically create new types.

```
(OpX $v0, $v1, (returnType $v0, (NativeCodeCall<"..."> $v1)))
```

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D109472
The file was modifiedmlir/test/mlir-tblgen/rewriter-indexing.td (diff)
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp (diff)
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td (diff)
The file was modifiedmlir/include/mlir/TableGen/Pattern.h (diff)
The file was modifiedmlir/test/mlir-tblgen/pattern.mlir (diff)
The file was modifiedmlir/test/mlir-tblgen/rewriter-errors.td (diff)
The file was modifiedmlir/lib/TableGen/Pattern.cpp (diff)
The file was modifiedmlir/include/mlir/IR/OpBase.td (diff)
Commit 87c00878d3ace60fe07cc2a9f8bd4566ab817d26 by Matthew.Arsenault
SplitKit: Remove decade old live interval hack

This was trying to fixup broken live intervals coming out of the
coalescer. The verifier is more complete now and no tests seem to fail
without this.
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SplitKit.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SplitKit.h (diff)
Commit b6cb03e6b94d91a1757d41d4b0f139166ae15de0 by anna
Revert use of getUniqueUndroppableUser in AssumeBundleBuilder

Fix build bot failure in rG4ac4e521 caused due to assumeBundleBuilder
using new API (getUniqueUndroppableUser).
We now continue using the existing API for AssumeBundleBuilder
(getSingleUndroppableUser).

Sorry for the noise here.

Tests-Run: failing testcase passes.
The file was modifiedllvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp (diff)
Commit 065bb08bb8934f1b3774f6a2f6a077fde67cf053 by dblaikie
NFC: DWARFTypePrinter: Remove "type" from member function names to reduce redundancy
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp (diff)
Commit 8025c03f70ee9b92e8599519b5ee34b54c9a80da by owenca
[clang-format] Top-level unwrapped lines don't follow a left brace

Differential Revision: https://reviews.llvm.org/D109752
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp (diff)
Commit f9e4aebe4a7a318869f57852359ad637f5c5a009 by anna
Revert "[InstCombine] Improve TryToSinkInstruction with multiple uses"

This reverts commit 4ac4e52189aa6d80c3d59dc2c8f7dcc0cb7f9d58.
There are couple of test failures, which needs update of the test cases.

Doing a clean revert and will recommit the change along with fixed
testcases.
The file was modifiedllvm/test/Transforms/InstCombine/icmp-mul-zext.ll (diff)
The file was modifiedllvm/include/llvm/IR/Value.h (diff)
The file was modifiedllvm/lib/IR/Value.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/sink_instruction.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
Commit 68079ef0eb011c8349e5ae84b95216e5039dbc16 by resistor
Teach SimplifyCFG to fold switches into lookup tables in more cases.

In particular, it couldn't handle cases where lookup table constant
expressions involved bitcasts. This does not seem to come up
frequently in C++, but comes up reasonably often in Rust via
`#[derive(Debug)]`.

Originally reported by pcwalton.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D109565
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
The file was addedllvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-bitcast.ll
The file was addedllvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-gep.ll
Commit 658eb9e14264d48888ade0e3daf0b648f76c3f0e by llvm-project
[Polly] Remove autotools build systems from Externals. NFC.

Building a source distribution using autotools adds GPL-licenced
files into the the sources. Although redistribution of theses files is
explicitly allowed with an exception, these are not used by Polly
which uses a CMake replacement. Use the direct source checkout
instead (replacing the output of 'make dist').

Some m4 scripts with the same licence are also included in isl/ppcg
repository. Removing them renders the autotools-based build scipts
inoperable, so remove the autotools build system altogether.
The file was addedpolly/lib/External/isl/testsets/pip/difficult.pip
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e7.pip
The file was addedpolly/lib/External/isl/imath/tests/qdivz.tc
The file was addedpolly/lib/External/isl/imath/tests/sqr.tc
The file was addedpolly/lib/External/isl/imath/tests/test.sh
The file was addedpolly/lib/External/isl/imath/tests/gcd.tc
The file was removedpolly/lib/External/isl/configure.ac
The file was addedpolly/lib/External/isl/imath/tests/compare.tc
The file was addedpolly/lib/External/isl/imath/ChangeLog
The file was addedpolly/lib/External/isl/imath/tools/findthreshold.py
The file was removedpolly/lib/External/isl/m4/ax_prog_cc_for_build.m4
The file was removedpolly/lib/External/ppcg/compile
The file was addedpolly/lib/External/isl/imath/tests/set.tc
The file was addedpolly/lib/External/isl/imath/tests/rtest.c
The file was addedpolly/lib/External/isl/imath/examples/basecvt.c
The file was addedpolly/lib/External/isl/imath/tests/lcm.tc
The file was removedpolly/lib/External/ppcg/configure
The file was addedpolly/lib/External/isl/imath/tests/emod.tc
The file was addedpolly/lib/External/isl/imath/tests/mod.tc
The file was addedpolly/lib/External/isl/imath/tests/linux/Dockerfile
The file was addedpolly/lib/External/isl/imath/tests/root.tc
The file was addedpolly/lib/External/isl/imath/tests/expt.tc
The file was addedpolly/lib/External/isl/.gitmodules
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/imath_custom_test.c
The file was removedpolly/lib/External/isl/include/isl/cpp-checked-conversion.h
The file was removedpolly/lib/External/ppcg/m4/ax_check_openmp.m4
The file was removedpolly/lib/External/isl/aclocal.m4
The file was addedpolly/lib/External/isl/imath/.dockerignore
The file was removedpolly/lib/External/isl/m4/ax_c___attribute__.m4
The file was addedpolly/lib/External/isl/imath/imdrover.c
The file was removedpolly/lib/External/isl/m4/ax_cxx_compile_stdcxx_11.m4
The file was addedpolly/lib/External/isl/imath/imtimer.c
The file was removedpolly/lib/External/isl/m4/ax_set_warning_flags.m4
The file was removedpolly/lib/External/isl/Makefile.am
The file was addedpolly/lib/External/isl/imath/imdrover.h
The file was removedpolly/lib/External/isl/test-driver
The file was removedpolly/lib/External/isl/depcomp
The file was addedpolly/lib/External/isl/imath/Makefile
The file was addedpolly/lib/External/isl/imath/tests/pi1500-10.txt
The file was addedpolly/lib/External/isl/testsets/pip/jcomplex.pip
The file was removedpolly/lib/External/isl/m4/ax_create_stdint_h.m4
The file was addedpolly/lib/External/isl/imath/.gitattributes
The file was removedpolly/lib/External/ppcg/m4/lt~obsolete.m4
The file was addedpolly/lib/External/isl/testsets/pip/bouleti.pip
The file was addedpolly/lib/External/isl/imath/tests/add.tc
The file was addedpolly/lib/External/isl/imath/tests/sub.tc
The file was removedpolly/lib/External/isl/interface/isl.py
The file was removedpolly/lib/External/ppcg/m4/ltsugar.m4
The file was removedpolly/lib/External/isl/Makefile.in
The file was addedpolly/lib/External/isl/imath/tests/div.tc
The file was removedpolly/lib/External/isl/interface/compile
The file was removedpolly/lib/External/isl/interface/Makefile.am
The file was removedpolly/lib/External/isl/doc/Makefile.am
The file was removedpolly/lib/External/isl/config.guess
The file was removedpolly/lib/External/isl/interface/install-sh
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e5.pip
The file was addedpolly/lib/External/isl/imath/imtest.c
The file was removedpolly/lib/External/isl/m4/ax_gcc_archflag.m4
The file was removedpolly/lib/External/ppcg/config.guess
The file was removedpolly/lib/External/isl/m4/ax_cc_maxopt.m4
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e4.pip
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/runtest
The file was removedpolly/lib/External/isl/m4/ltversion.m4
The file was addedpolly/lib/External/isl/imath/examples/input.c
The file was removedpolly/lib/External/ppcg/configure.ac
The file was addedpolly/lib/External/isl/imath/doc.md
The file was addedpolly/lib/External/isl/imath/tests/bigmul.tc
The file was addedpolly/lib/External/isl/imath/tests/qdiv.tc
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/genctest.py
The file was removedpolly/lib/External/ppcg/ltmain.sh
The file was addedpolly/lib/External/isl/imath/tests/bug-swap.c
The file was removedpolly/lib/External/isl/config.sub
The file was removedpolly/lib/External/isl/doc/Makefile.in
The file was addedpolly/lib/External/isl/imath/examples/randprime.c
The file was removedpolly/lib/External/isl/m4/ax_detect_gmp.m4
The file was addedpolly/lib/External/isl/imath/rsamath.c
The file was removedpolly/lib/External/isl/interface/aclocal.m4
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/gendata.py
The file was addedpolly/lib/External/isl/imath/tests/mul.tc
The file was addedpolly/lib/External/isl/imath/iprime.h
The file was removedpolly/lib/External/isl/m4/ax_detect_imath.m4
The file was addedpolly/lib/External/isl/imath/tests/egcd.tc
The file was removedpolly/lib/External/isl/m4/ax_prog_cxx_for_build.m4
The file was removedpolly/lib/External/isl/include/isl/cpp.h
The file was removedpolly/lib/External/isl/interface/isl_config.h.in
The file was removedpolly/lib/External/isl/m4/ax_gcc_warn_unused_result.m4
The file was addedpolly/lib/External/isl/testsets/pip/cnt_sum2.pip
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/gmp_custom_test.c
The file was removedpolly/lib/External/ppcg/missing
The file was removedpolly/lib/External/ppcg/depcomp
The file was removedpolly/lib/External/ppcg/m4/ax_detect_git_head.m4
The file was addedpolly/lib/External/isl/imath/examples/rounding.c
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py
The file was removedpolly/lib/External/ppcg/Makefile.in
The file was removedpolly/lib/External/ppcg/m4/ltoptions.m4
The file was removedpolly/lib/External/isl/interface/Makefile.in
The file was removedpolly/lib/External/isl/isl_config.h.in
The file was addedpolly/lib/External/isl/imath/examples/rsakey.c
The file was addedpolly/lib/External/isl/imath/tests/invmod.tc
The file was addedpolly/lib/External/isl/doc/interface
The file was addedpolly/lib/External/isl/imath/rsamath.h
The file was addedpolly/lib/External/isl/imath/tests/conv.tc
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/Makefile
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/.gitignore
The file was addedpolly/lib/External/isl/imath/tests/qadd.tc
The file was addedpolly/lib/External/isl/imath/tests/test.bc
The file was removedpolly/lib/External/isl/include/isl/typed_cpp.h
The file was removedpolly/lib/External/isl/py-compile
The file was removedpolly/lib/External/isl/m4/ltsugar.m4
The file was addedpolly/lib/External/isl/imath/tests/qaddz.tc
The file was addedpolly/lib/External/isl/imath/tools/mkdoc.py
The file was removedpolly/lib/External/isl/m4/ax_check_compiler_flags.m4
The file was removedpolly/lib/External/isl/ltmain.sh
The file was addedpolly/lib/External/isl/imath/tests/emodv.tc
The file was addedpolly/lib/External/isl/imath/contrib/Makefile.msvc
The file was removedpolly/lib/External/ppcg/Makefile.am
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e6.pip
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/runtest.py
The file was addedpolly/lib/External/isl/imath/tests/pi1024.txt
The file was modifiedpolly/lib/External/update-isl.sh (diff)
The file was addedpolly/lib/External/isl/imath/tests/qsub.tc
The file was removedpolly/lib/External/isl/m4/ax_gcc_x86_cpuid.m4
The file was removedpolly/lib/External/isl/m4/ltoptions.m4
The file was removedpolly/lib/External/ppcg/m4/ax_check_opencl.m4
The file was addedpolly/lib/External/isl/imath/tests/pi1698-16.txt
The file was addedpolly/lib/External/isl/imath/tests/qmisc.tc
The file was removedpolly/lib/External/ppcg/install-sh
The file was addedpolly/lib/External/isl/testsets/pip/phideo.pip
The file was removedpolly/lib/External/isl/interface/config.sub
The file was removedpolly/lib/External/isl/interface/depcomp
The file was addedpolly/lib/External/isl/imath/iprime.c
The file was removedpolly/lib/External/isl/m4/ax_detect_clang.m4
The file was addedpolly/lib/External/isl/imath/examples/pi.c
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/gmpapi.py
The file was addedpolly/lib/External/isl/imath/tests/imath-test.scm
The file was addedpolly/lib/External/isl/imath/tests/init.tc
The file was removedpolly/lib/External/isl/interface/configure
The file was removedpolly/lib/External/isl/m4/ax_create_pkgconfig_info.m4
The file was removedpolly/lib/External/ppcg/aclocal.m4
The file was addedpolly/lib/External/isl/imath/tests/qsubz.tc
The file was addedpolly/lib/External/isl/testsets/pip/seghir-vd.pip
The file was removedpolly/lib/External/ppcg/m4/libtool.m4
The file was addedpolly/lib/External/isl/imath/tests/isprime.tc
The file was addedpolly/lib/External/isl/imath/examples/imcalc.c
The file was addedpolly/lib/External/isl/imath/tests/bigsqr.tc
The file was removedpolly/lib/External/isl/install-sh
The file was removedpolly/lib/External/ppcg/m4/ax_submodule.m4
The file was removedpolly/lib/External/ppcg/test-driver
The file was addedpolly/lib/External/isl/imath/.travis.yml
The file was removedpolly/lib/External/isl/interface/ltmain.sh
The file was removedpolly/lib/External/isl/m4/ax_detect_git_head.m4
The file was removedpolly/lib/External/isl/m4/libtool.m4
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e9.pip
The file was addedpolly/lib/External/isl/imath/doc.md.in
The file was removedpolly/lib/External/isl/m4/ax_compiler_vendor.m4
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e3.pip
The file was removedpolly/lib/External/isl/include/isl/cpp-checked.h
The file was removedpolly/lib/External/isl/m4/ax_cxx_compile_stdcxx.m4
The file was addedpolly/lib/External/isl/imath/contrib/README
The file was addedpolly/lib/External/isl/imath/tests/qmulz.tc
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e1.pip
The file was removedpolly/lib/External/isl/compile
The file was addedpolly/lib/External/isl/imath/README.md
The file was addedpolly/lib/External/isl/imath/tests/bintest.c
The file was removedpolly/lib/External/isl/interface/missing
The file was addedpolly/lib/External/isl/imath/LICENSE
The file was addedpolly/lib/External/isl/imath/tests/qtodec.tc
The file was removedpolly/lib/External/isl/m4/ax_submodule.m4
The file was removedpolly/lib/External/isl/configure
The file was addedpolly/lib/External/isl/imath/tests/neg.tc
The file was addedpolly/lib/External/isl/imath/tests/gmp-compat-test/README
The file was removedpolly/lib/External/isl/missing
The file was removedpolly/lib/External/isl/interface/config.guess
The file was removedpolly/lib/External/ppcg/m4/ltversion.m4
The file was addedpolly/lib/External/isl/imath/examples/findprime.c
The file was removedpolly/lib/External/isl/m4/ax_cxx_compile_stdcxx_11_no_override.m4
The file was removedpolly/lib/External/ppcg/config.sub
The file was addedpolly/lib/External/isl/testsets/pip/seghir-e8.pip
The file was addedpolly/lib/External/isl/.gitignore
The file was removedpolly/lib/External/isl/m4/lt~obsolete.m4
The file was addedpolly/lib/External/isl/imath/tests/qmul.tc
Commit c90cbb2d3455a6e1421cc7e703d2043a399ef7aa by llvmgnsyncbot
[gn build] Port d249200fa7d5
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn (diff)
Commit c3ddc13d7d631a29b55f82c7cc7a9008bf89b1f4 by aeubanks
[NFC] Split up PassBuilder.cpp

PassBuilder.cpp is the slowest file to compile in LLVM.
When trying to test changes to pipelines, it takes a long time to recompile.

This doesn't actually speedup building PassBuilder.cpp itself since most
of the time is spent in other large/duplicated functions caused by
PassRegistry.def.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D109798
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was addedllvm/lib/Passes/PassBuilderPipelines.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn (diff)
The file was modifiedllvm/lib/Passes/CMakeLists.txt (diff)
The file was addedllvm/lib/Passes/OptimizationLevel.cpp
Commit 5d78e33ce5eba5bdf2be0d261eb5c6dd3458ec78 by aeubanks
[test] Move some llvm-extract tests into the proper directory
The file was addedllvm/test/tools/llvm-extract/extract-weak-odr.ll
The file was addedllvm/test/tools/llvm-extract/extract.ll
The file was removedllvm/test/Other/extract-alias.ll
The file was addedllvm/test/tools/llvm-extract/extract-alias.ll
The file was removedllvm/test/Other/extract-weak-odr.ll
The file was removedllvm/test/Other/extract-linkonce.ll
The file was removedllvm/test/Other/extract.ll
The file was addedllvm/test/tools/llvm-extract/extract-linkonce.ll
Commit 699da98739b0f88c27f75adbe8295c7e1dfd0188 by richard
PR51874: Fix diagnostics for defaulted, implicitly deleted 'operator!='.

Don't say we couldn't find an 'operator<=>' when we were actually
looking for an 'operator=='. Also fix a crash when attempting to
diagnose if we select a built-in 'operator!=' in this lookup.
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was addedclang/test/CXX/class/class.compare/class.compare.secondary/p2.cpp
Commit 37a5a3ae5508a120a6eba113dbd0b23ab27d650e by tejohnson
[MemProf] Avoid global lock when updating MIB cache

Previously we used a global Allocator-scope mutex to lock when adding a
deallocation to the MIB cache. This resulted in a lot of contention.
Instead add and use per-set mutexes.

Along with this, we now need to remove the global miss and access count
variables and instead utilize the per-set statistics to report the
overall miss rate.

Differential Revision: https://reviews.llvm.org/D109853
The file was modifiedcompiler-rt/lib/memprof/memprof_allocator.cpp (diff)
Commit 17589538aaef2b5ae27a0bfeb4346aff433aa59d by tedwood
[lldb-vscode] Fix focus thread when previous thread exits

The thread that Visual Studio Code displays on a stop is called the focus thread. When the previous focus thread exits and we stop in a new thread, lldb-vscode does not tell vscode to set the new thread as the focus thread, so it selects the first thread in the thread list.

This patch changes lldb-vscode to tell vscode that the new thread is the focus thread. It also includes a test that verifies the DAP stop message for this case contains the correct values.

Reviewed By: clayborg, wallace

Differential Revision: https://reviews.llvm.org/D109633
The file was addedlldb/test/API/tools/lldb-vscode/correct-thread/main.c
The file was addedlldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp (diff)
The file was addedlldb/test/API/tools/lldb-vscode/correct-thread/Makefile
Commit 242524741f3582d93e4fac8052d0bfc40f4c1ac4 by tejohnson
[MemProf] Fix format warnings

Fix the warnings that show up with -Wformat in this file.
The file was modifiedcompiler-rt/lib/memprof/memprof_allocator.cpp (diff)
Commit 94a2f9cdb6f9ef9843057030159ee69f76722121 by Ahmed Bougacha
[GlobalISel] Fix CombinerHelper::isPredecessor for same def/use MI.

The doc comment for isPredecessor says:
  Returns true if \p DefMI precedes \p UseMI or they are the same
  instruction.
And dominates relies on that behavior for its own:
  Returns true if \p DefMI dominates \p UseMI. By definition an
  instruction dominates itself.

Make both statements correct by fixing isPredecessor.
Found by inspection.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp (diff)
Commit e159d3cbfc250115d1244f3a6219436a52f90f86 by Ahmed Bougacha
[AArch64][GlobalISel] Use MI::getIntrinsicID in more spots. NFC.

There's technically a difference in the logic used by these
findIntrinsicID and MachineInstr::getIntrinsicID, but it shouldn't
be a meaningful difference here, with G_INTRINSIC instructions.
getIntrinsicID's "first non-def" logic should be correct for those.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp (diff)
Commit c8b3d7d6d6de37af68b2f379d0e37304f78e115f by Jessica Paquette
[AArch64][GlobalISel] Ensure atomic loads always get assigned GPR destinations

The default register bank selection code for G_LOAD assumes that we ought to
use a FPR when the load is casted to a float/double.

For atomics, this isn't true; we should always use GPRs.

Without this patch, we crash in the following example:

https://godbolt.org/z/MThjas441

Also make the code a little more stylistically consistent while we're here.

Also test some other weird cast combinations as well.

Differential Revision: https://reviews.llvm.org/D109771
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp (diff)
Commit 24c8eaec9467b2aaf70b0db33a4e4dd415139a50 by kazu
[Transforms] Use make_early_inc_range (NFC)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (diff)
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp (diff)
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/lib/Transforms/Coroutines/CoroCleanup.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/LowerSwitch.cpp (diff)
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp (diff)
The file was modifiedllvm/lib/Transforms/Coroutines/CoroEarly.cpp (diff)
The file was modifiedllvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit b1d44e59020a2a7adfc81bffb07577fd091d0778 by ajcbik
[mlir][sparse] add affine subscripts to sparse compilation pass

This enables the sparsification of more kernels, such as convolutions
where there is a x(i+j) subscript. It also enables more tensor invariants
such as x(1) or other affine subscripts such as x(i+1). Currently, we
reject sparsity altogether for such tensors. Despite this restriction,
however, we can already handle a lot more kernels with compound subscripts
for dense access (viz. convolution with dense input and sparse filter).
Some unit tests and an integration test demonstrate new capability.

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D109783
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp (diff)
The file was addedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
The file was addedmlir/test/Dialect/SparseTensor/sparse_affine.mlir
Commit 03c8b24ace911912892f225cce16498b6f71bf3f by i
Delete unused GlobalIndirectSymbol::getBaseObject overloads
The file was modifiedllvm/include/llvm/IR/GlobalIndirectSymbol.h (diff)