Progress:
Changes

Summary

  1. [clang-cl] Define _MSVC_LANG for -std=c++2b (details)
  2. [ARM] Introduce i8neg and i8pos addressing modes (details)
  3. [SLP]Outline and fix code for finding common insertelement vectors. (details)
  4. [llvm] Fix "unused variable" warnings (details)
  5. [llvm] Use range-based for loops (NFC) (details)
  6. [OpenMP] Remove the new runtime default for AMDGPU (details)
  7. [DSE] Read after strcpy test. (details)
  8. [BasicAA] Add tests for strcat/strncat/strcpy. (details)
  9. [bazel][mlgo] Remove the mlgo-related build excludes (details)
Commit 2a2b3a3e3df7b89e18be9ffab1e08d7ca578cf57 by thakis
[clang-cl] Define _MSVC_LANG for -std=c++2b

This matches the value that msvc v19.29 VS16.11 uses for
_MSVC_LANG with /std:c++latest.

Differential Revision: https://reviews.llvm.org/D114952
The file was modifiedclang/test/Preprocessor/predefined-win-macros.c (diff)
The file was modifiedclang/lib/Basic/Targets/OSTargets.cpp (diff)
Commit b8f1ccb0acf8dccdd3fb706465ec958763987bee by david.green
[ARM] Introduce i8neg and i8pos addressing modes

Some instructions with i8 immediate ranges can only hold negative values
(like t2LDRHi8), only hold positive values (like t2STRT) or hold +/-
depending on the U bit (like the pre/post inc instructions. e.g
t2LDRH_POST). This patch splits the AddrModeT2_i8 into AddrModeT2_i8,
AddrModeT2_i8pos and AddrModeT2_i8neg to make this clear.

This allows us to get the offset ranges of t2LDRHi8 correct in the
load/store optimizer, fixing issues where we could end up creating
instructions with positive offsets (which may then be encoded as ldrht).

Differential Revision: https://reviews.llvm.org/D114638
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/postinc-distribute.mir (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td (diff)
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h (diff)
The file was modifiedllvm/test/CodeGen/ARM/machine-outliner-stack-fixup-thumb.mir (diff)
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp (diff)
Commit 8ceccbd321319434450717ac1917cdca174ff6eb by a.bataev
[SLP]Outline and fix code for finding common insertelement vectors.

Need to outline the code for finding common vectors in insertelement
instructions into a separate function for future patches. It also
improves the process by adding some extra checks for early exit and
fixes a bug where it always finds the match because of erroneous compare
of the same values.

Differential Revision: https://reviews.llvm.org/D114909
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/cmp_commute.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/cmp_commute-inseltpoison.ll (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit 22d82949b091ad83522c001b564adee5e6f280f4 by kazu
[llvm] Fix "unused variable" warnings
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileInference.cpp (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp (diff)
Commit 262dd1e42d719d2bd3fa18233500204c6950cede by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp (diff)
The file was modifiedllvm/lib/IR/AsmWriter.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp (diff)
The file was modifiedllvm/lib/Support/Regex.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp (diff)
The file was modifiedllvm/lib/Support/StringRef.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp (diff)
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp (diff)
The file was modifiedllvm/lib/Support/StringExtras.cpp (diff)
The file was modifiedllvm/lib/Option/OptTable.cpp (diff)
Commit 96ff74a0d5982cb70ac25883f3b0d5bb99947aa9 by jhuber6
[OpenMP] Remove the new runtime default for AMDGPU

The new runtime is currently broken for AMD offloading. This patch makes
the default the old runtime only for the AMD target.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D114965
The file was modifiedclang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
Commit 68782a860dfa680697cf5748f2609624e933fcbb by flo
[DSE] Read after strcpy test.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/libcalls.ll (diff)
Commit 222442ec2d7172faedf20291f5d14f4883b5fa1b by flo
[BasicAA] Add tests for strcat/strncat/strcpy.
The file was modifiedllvm/test/Analysis/BasicAA/libfuncs.ll (diff)
Commit ced5fd8dbf903b07de3ad9fee9323a9e423fc7c1 by mtrofin
[bazel][mlgo] Remove the mlgo-related build excludes

They aren't needed anymore, we handle conditional compilation in those
files.

Reviewed By: GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D114970
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel (diff)