SuccessChanges

Summary

  1. [Diagnostics] Reworked -Wstring-concatenation (details)
  2. [WebAssembly][AsmParser] Name missing features in error message (details)
  3. [VectorCombine] add safety check for 0-width register (details)
  4. [NFC] Inline variable only used in debug builds (details)
  5. [CMake] Simplify CMake handling for zlib (details)
  6. [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+" (details)
  7. [Attributor][NFC] Reformat tests after D85099 (details)
Commit b9af72bffe5f2769f3a7858a785981f89137a0ce by Dávid Bolvanský
[Diagnostics] Reworked -Wstring-concatenation
The file was modifiedclang/test/Sema/string-concat.c (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/lib/Sema/SemaExpr.cpp (diff)
Commit 2985c02f798ba8248a9168a9f33a74d90c0c5445 by tlively
[WebAssembly][AsmParser] Name missing features in error message

Rather than just saying that some feature is missing, report the exact
features to make the error message more useful and actionable.

Differential Revision: https://reviews.llvm.org/D85795
The file was addedllvm/test/MC/WebAssembly/missing-features.s
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp (diff)
Commit b0b95dab1ce21d93f3d62bc37256da9f38cff616 by spatel
[VectorCombine] add safety check for 0-width register

Based on post-commit discussion in D81766, Hexagon sets this to "0".
I'll see if I can come up with a test, but making the obvious
code fix first to unblock that target.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp (diff)
Commit 1a67522d3ef4b5b1d6d14f47895a6ad11598573c by rupprecht
[NFC] Inline variable only used in debug builds
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp (diff)
Commit 31e5f7120bdd2f76337686d9d169b1c00e6ee69c by phosek
[CMake] Simplify CMake handling for zlib

Rather than handling zlib handling manually, use find_package from CMake
to find zlib properly. Use this to normalize the LLVM_ENABLE_ZLIB,
HAVE_ZLIB, HAVE_ZLIB_H. Furthermore, require zlib if LLVM_ENABLE_ZLIB is
set to YES, which requires the distributor to explicitly select whether
zlib is enabled or not. This simplifies the CMake handling and usage in
the rest of the tooling.

This is a reland of abb0075 with all followup changes and fixes that
should address issues that were reported in PR44780.

Differential Revision: https://reviews.llvm.org/D79219
The file was modifiedllvm/unittests/Support/CompressionTest.cpp (diff)
The file was modifiedlldb/cmake/modules/LLDBStandalone.cmake (diff)
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was modifiedllvm/lib/Support/Compression.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (diff)
The file was modifiedllvm/cmake/config-ix.cmake (diff)
The file was modifiedllvm/test/lit.site.cfg.py.in (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn (diff)
The file was modifiedlld/test/lit.site.cfg.py.in (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn (diff)
The file was modifiedcompiler-rt/test/lit.common.configured.in (diff)
The file was modifiedclang/test/CMakeLists.txt (diff)
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
The file was modifiedclang/test/lit.site.cfg.py.in (diff)
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn (diff)
The file was modifiedllvm/lib/Support/CRC.cpp (diff)
The file was modifiedllvm/include/llvm/Config/config.h.cmake (diff)
The file was modifiedlld/test/CMakeLists.txt (diff)
The file was modifiedllvm/test/CMakeLists.txt (diff)
Commit 97ce7fd89fcc92d84c1938108388f735d55d372c by johannes
[UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+"

With this patch we will match most *uses* of "temporary" named things in
the IR via regular expressions, not their name at creation time. The new
"values" we match are:
  - "unnamed" globals: `@[0-9]+`
  - debug metadata: `!dbg ![0-9]+`
  - loop metadata: `!loop ![0-9]+`
  - tbaa metadata: `!tbaa ![0-9]+`
  - range metadata: `!range ![0-9]+`
  - generic metadata: `metadata ![0-9]+`
  - attributes groups: `#[0-9]`

We still don't match the declarations but that can be done later. This
patch can introduce churn when existing check lines contain the old
hardcoded versions of the above "values". We can add a flag to opt-out,
or opt-in, if necessary.

Reviewed By: arichardson, MaskRay

Differential Revision: https://reviews.llvm.org/D85099
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/scrub_attrs.ll.plain.expected (diff)
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.plain.expected (diff)
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected
The file was modifiedllvm/utils/UpdateTestChecks/asm.py (diff)
The file was modifiedllvm/utils/update_cc_test_checks.py (diff)
The file was modifiedllvm/utils/update_test_checks.py (diff)
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected
The file was modifiedllvm/utils/UpdateTestChecks/common.py (diff)
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/basic-cplusplus.cpp.expected (diff)
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.funcattrs.expected (diff)
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected (diff)
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/various_ir_values.test
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll
Commit 3a033921ed321585436f353a498c86fa89ecb0ff by johannes
[Attributor][NFC] Reformat tests after D85099

Reviewed By: sstefan1

Differential Revision: https://reviews.llvm.org/D85700
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/potential.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/nocapture-1.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/range.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll (diff)

Summary

  1. Add Flang and MLIR PowerPC buildbot on Red Hat (details)
  2. Specify a number of jobs as a property for flang-aarch64-ubuntu-clang and flang-aarch64-ubuntu-gcc10 builders. (details)
Commit 714b345535c0c85b5b9d5ce7c3c09ee72c10ede1 by gkistanova
Add Flang and MLIR PowerPC buildbot on Red Hat

Differential Revision: https://reviews.llvm.org/D84956
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)
Commit 9ad0d8f0382950cb4aed5104fb96a6f14af681ff by gkistanova
Specify a number of jobs as a property for flang-aarch64-ubuntu-clang and flang-aarch64-ubuntu-gcc10 builders.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)