SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [LV] Fix FoldTail under user VF and UF (details)
  2. Map -O to -O1 instead of -O2 (details)
  3. [lldb/test] Relax NSDate mock test for non-Apple platforms (details)
  4. [clang][SveEmitter] SVE builtins for `svusdot` and `svsudot` ACLE. (details)
  5. [AArch64][GlobalISel] Add legalizer & selector support for G_FREEZE. (details)
  6. [clangd] Tidy up SelectionTree dumps with newlines (details)
  7. [lldb/test] Disable NSDate format check under _WIN32 (details)
Commit 682e739638a9c569d4c5c358ab75365175a95efc by ayal.zaks
[LV] Fix FoldTail under user VF and UF

LV considers an internally computed MaxVF to decide if a constant trip-count is
a multiple of any subsequently chosen VF, and conclude that no scalar remainder
iterations (tail) will be left for Fold Tail to handle. If an external VF is
provided via -force-vector-width, it must be considered instead of the internal
MaxVF.
If an external UF is provided via -force-vector-interleave, it too must be
considered in addition to MaxVF or user VF.

Fixes PR45679.

Differential Revision: https://reviews.llvm.org/D80085
The file was addedllvm/test/Transforms/LoopVectorize/pr45679-fold-tail-by-masking.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
Commit 82904401e3278c3f3a54481d6cd06cc43b801e3b by maskray
Map -O to -O1 instead of -O2

rL82131 changed -O from -O1 to -O2, because -O1 was not different from
-O2 at that time.

GCC treats -O as -O1 and there is now work to make -O1 meaningful.
We can change -O back to -O1 again.

Reviewed By: echristo, dexonsmith, arphaman

Differential Revision: https://reviews.llvm.org/D79916
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector-constrained.c
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGen/fma-builtins-constrained.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2-constrained.c
The file was modifiedclang/test/Driver/lto.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3-constrained.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/O.c
Commit fff3a8464d4d518c7086c928fba967908eb294d7 by Vedant Kumar
[lldb/test] Relax NSDate mock test for non-Apple platforms

On Ubuntu, a formatted date prints as "GMT" instead of "UTC", which is
ok.

http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/4520/steps/test/logs/stdio
The file was modifiedlldb/unittests/DataFormatter/MockTests.cpp
Commit b593bfd4d8e3716c80d4313b5a0eeeb6e9575a74 by francesco.petrogalli
[clang][SveEmitter] SVE builtins for `svusdot` and `svsudot` ACLE.

Summary:
Intrinsics, guarded by `__ARM_FEATURE_SVE_MATMUL_INT8`:

* svusdot[_s32]
* svusdot[_n_s32]
* svusdot_lane[_s32]
* svsudot[_s32]
* svsudot[_n_s32]
* svsudot_lane[_s32]

Reviewers: sdesmalen, efriedma, david-arm, rengolin

Subscribers: tschuett, kristof.beyls, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79877
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/TargetBuiltins.h
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
Commit 665da596854bf07ee25f368855156dde43845013 by Amara Emerson
[AArch64][GlobalISel] Add legalizer & selector support for G_FREEZE.

These should legalize like undefs and select into copies.

The ll test is copied from the x86 test, minus the half fp case because
we don't currently support that.
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-freeze.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/freeze.ll
Commit e3e15836af79cbcfe452624caf326b854781abdd by sam.mccall
[clangd] Tidy up SelectionTree dumps with newlines
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit e3aa4cd9dbcee6441f51102e3958c35321698c67 by Vedant Kumar
[lldb/test] Disable NSDate format check under _WIN32

Disable the test which attempts to format an NSDate with a date_value of
0 on _WIN32.

When _WIN32 is defined, GetOSXEpoch returns a date that should be in
2001, but after this is passed through timegm (which, afaict isn't
portable?) the result is a date in 1970:

```
lldb-x64-windows-ninja\llvm-project\lldb\unittests\DataFormatter\MockTests.cpp(39): error:       Expected: *formatDateValue(0)
      Which is: "1970-01-01 00:00:00 Pacific Standard Time"
      To be equal to: "2001-01-01 00:00:00 UTC"
```

http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/4520/steps/test/logs/stdio
The file was modifiedlldb/unittests/DataFormatter/MockTests.cpp