SuccessChanges

Summary

  1. Support compatibility with buildbot 2.10. (details)
  2. Add flang out-of-tree new driver buildbot. (details)
Commit 3f44862c69dd1766b51ea408d2cba6ec5c76c30a by maxim.kuvyrkov
Support compatibility with buildbot 2.10.

This removes the deprecation warning and removes the
non-existing method addFactoryArguments (it was not doing
anything anyway for quite some time) which was breaking
the master.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D95867
The file was modifiedzorg/buildbot/commands/LitTestCommand.py (diff)
Commit 209455d2faa5e969604c9b299306ad4e7573ad22 by maxim.kuvyrkov
Add flang out-of-tree new driver buildbot.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D96129
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. tsan: don't leave unmapped hole in non-app memory (details)
  2. [vim] Add initial syntax definition for .mir files (details)
  3. [vim] Highlight most common MIR syntax not in LLVM IR (details)
  4. [OpenMP] Fix a warning on an unused variable (details)
  5. [clang][Frontend] Fix a crash in DiagnosticRenderer. (details)
  6. [sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo script (details)
  7. [MachineSink] Add a loop sink limit (details)
  8. [OpenCL] Create VoidPtrTy with generic AS in C++ for OpenCL mode (details)
  9. [mlir][Shape] Mark BroadcastOp as not having side effects (details)
  10. [ADT] Add SFINAE guards to unique_function constructor. (details)
  11. [LSR] Cleanup of getPreferredAddresingMode. NFC. (details)
Commit 0984b8de0b0d5d178a8e6e5de1eb89f29493a89e by dvyukov
tsan: don't leave unmapped hole in non-app memory

If an app mmaps lots of memory, a user mmap may end up
in the tsan region for traces. Shadow for this range
overlaps with shadow for other user regions.
This causes havok: from false positives to crashes.
Don't leave unmapped holes in the traces region.

Reviewed-in: https://reviews.llvm.org/D96697
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was addedcompiler-rt/test/tsan/mmap_lots.cpp
Commit c6a96df3752065a9411e517942e2cd928e7af82e by code
[vim] Add initial syntax definition for .mir files

This initial definition handles the yaml container and the embedding of
the inner IRs. As a stopgap, this reuses the LLVM IR syntax highlighting
for the MIR function bodies--even though it's not technically correct,
it produces decent highlighting for a first pass.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D95552
The file was addedllvm/utils/vim/ftplugin/mir.vim
The file was addedllvm/utils/vim/syntax/machine-ir.vim
The file was addedllvm/utils/vim/ftdetect/mir.vim
The file was addedllvm/utils/vim/syntax/mir.vim
Commit ed7638a34d32ee427f75c6ca1ef0a9e8661b847d by code
[vim] Highlight most common MIR syntax not in LLVM IR

This adds highlighting for MIR instruction opcodes, physical registers,
and MIR types.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D95553
The file was modifiedllvm/utils/vim/syntax/machine-ir.vim
Commit ab8a62057384e1bbfd528a4012cd898511c83b02 by kazu
[OpenMP] Fix a warning on an unused variable
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 085dcc82178f94b99783c5730e70a953e4105c00 by 1.int32
[clang][Frontend] Fix a crash in DiagnosticRenderer.

Displaying the problem range could crash if the begin and end of a
range is in different files or macros. After the change such range
is displayed only as the beginning location.

There is a bug for this problem:
https://bugs.llvm.org/show_bug.cgi?id=46540

Reviewed By: steakhal

Differential Revision: https://reviews.llvm.org/D95860
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-1.inc
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-end-macro.inc
The file was addedclang/test/Analysis/copypaste/clone-begin-end-different-file.cpp
The file was modifiedclang/lib/Frontend/DiagnosticRenderer.cpp
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-2.inc
The file was addedclang/test/Frontend/crash-diagnostic-renderer.cpp
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-2.inc
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc
The file was addedclang/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-end.inc
Commit ac6c13bfc49f2d67a77144c839ecf49e48cb994c by protze
[sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo script

When compiling with ccache, compiler commands get split into smaller steps
and clang's default -Wunused-command-line-argument complains about unused
include directory arguments. In combination -Werror, compilation aborts.

This patch passes the CMAKE_C_FLAGS into the build script. Configuring with
-DCMAKE_C_FLAGS=-Wno-unused-command-line-argument allows successful testing.

Differential Revision: https://reviews.llvm.org/D96762
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
Commit 7f3170ec1943a25a09beb0a989ebc83c9c238f97 by sjoerd.meijer
[MachineSink] Add a loop sink limit

To make sure compile-times don't regress, add an option to restrict the number
of instructions considered for sinking as alias analysis can be expensive and
for the same reason also skip large blocks.

Differential Revision: https://reviews.llvm.org/D96485
The file was addedllvm/test/CodeGen/AArch64/loop-sink-limit.mir
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
Commit e1a64aa66c332d16b3f0dae0426ee29eeb6bbba6 by anton.zabaznov
[OpenCL] Create VoidPtrTy with generic AS in C++ for OpenCL mode

This change affects 'SemaOpenCLCXX/newdelete.cl' test,
thus the patch contains adjustments in types validation of
operators new and delete

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D96178
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was addedclang/test/CodeGenOpenCLCXX/addrspace-new-delete.cl
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
Commit 82b692e54698a3b2b874ea4f6e97c5337e8045d1 by benny.kra
[mlir][Shape] Mark BroadcastOp as not having side effects

This allows it to be dead code eliminated when unused.

Differential Revision: https://reviews.llvm.org/D96797
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
Commit 9ebc837f555249759c538338ffdbf7463e1b6a77 by sam.mccall
[ADT] Add SFINAE guards to unique_function constructor.

We can't construct a working unique_function from an object that's not callable
with the right types, so don't allow deduction to succeed.
This avoids some ambiguous conversion cases, e.g. allowing to overload
on different unique_function types, and to conversion operators to
unique_function.

std::function and the any_invocable proposal have these.
This was added to llvm::function_ref in D88901 and followups

Differential Revision: https://reviews.llvm.org/D96794
The file was modifiedllvm/include/llvm/ADT/FunctionExtras.h
The file was modifiedllvm/unittests/ADT/FunctionExtrasTest.cpp
Commit dea4a63e635924ef6c00556d8f30d94e36864274 by sjoerd.meijer
[LSR] Cleanup of getPreferredAddresingMode. NFC.

This is a follow up D96600 and cleans up most calls to
getPreferredAddresingMode. I.e., we really don't need to query the same things
again and again, but get the preferred addressing mode once for each loop. So
this should be a lot friendlier for compile times, especially if we start
implementing getPreferredAddresingMode.

Differential Revision: https://reviews.llvm.org/D96772
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp