Changes

Summary

  1. [llvm][NFC] Remove deprecated Alignment::None() (details)
  2. [llvm][NFC] Remove deprecated DataLayout::getPreferredAlignment functions (details)
  3. [llvm][NFC] Remove deprecated InterleaveGroup::getAlignment() function. (details)
  4. [llvm][NFC] Remove SelectionDag alignment deprecated functions (details)
  5. [llvm][NFC] Remove CallingConvLower deprecated alignment functions (details)
  6. [llvm-objdump] Use std::make_unique (details)
  7. [lit] Report tool path from use_llvm_tool if found via env variable (details)
  8. [ARM] Transforming memcpy to Tail predicated Loop (details)
  9. [flang] Remove `%f18` from LIT configuration files (details)
  10. [AMDGPU] SIFoldOperands: clean up tryConstantFoldOp (details)
  11. [clang-format] Add more support for C# 8 nullables (details)
Commit b4795544d42b4c3d49fdf63b797b07f40242a427 by gchatelet
[llvm][NFC] Remove deprecated Alignment::None()

Differential Revision: https://reviews.llvm.org/D101905
The file was modifiedllvm/include/llvm/Support/Alignment.h
Commit a065efa302f64f225d9187b49b4dd061b5c58b08 by gchatelet
[llvm][NFC] Remove deprecated DataLayout::getPreferredAlignment functions

Differential Revision: https://reviews.llvm.org/D101906
The file was modifiedllvm/include/llvm/IR/DataLayout.h
Commit 040f4a97cd400e8464478e9b7c1d7d94d2bad708 by gchatelet
[llvm][NFC] Remove deprecated InterleaveGroup::getAlignment() function.

Differential Revision: https://reviews.llvm.org/D101907
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 1fa21bf9e999f8fcb6e9137acb69aa940ad0e3ab by gchatelet
[llvm][NFC] Remove SelectionDag alignment deprecated functions

Differential Revision: https://reviews.llvm.org/D101909
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
Commit 089ec047bea8f6a0a47d8c4ad5142e9ca8b5aed9 by gchatelet
[llvm][NFC] Remove CallingConvLower deprecated alignment functions

Differential Revision: https://reviews.llvm.org/D101910
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
Commit ab5932ffbd91b3989e20344cf104abe7c0cad1ae by tim.renouf
[llvm-objdump] Use std::make_unique

Fix up my recent commit rG1128311a19179ceca799ff0fbc4dd206ab56e560 to
use std::make_unique instead of std::unique_ptr(new), as requested by
David Blaikie.

Differential Revision: https://reviews.llvm.org/D101822
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
Commit abe2c906ad4c34d257e63b067fe8514050ea77ff by james.henderson
[lit] Report tool path from use_llvm_tool if found via env variable

Previously, if the search_env argument was specified, and the tool was
found at that location, the path was not reported, unlike other
situations when this function was called. Adding the reporting makes the
function consistent.

Reviewed by: thopre

Differential Revision: https://reviews.llvm.org/D101896
The file was addedllvm/utils/lit/tests/use-tool-search-env.py
The file was addedllvm/utils/lit/tests/Inputs/use-tool-search-env/test.tool
The file was addedllvm/utils/lit/tests/Inputs/use-tool-search-env/lit.cfg
The file was addedllvm/utils/lit/tests/Inputs/use-tool-search-env/true.txt
The file was modifiedllvm/utils/lit/lit/llvm/config.py
Commit b856f4a232cbd43476e9b9f75c80aacfc6f5c152 by malhar.jajoo
[ARM] Transforming memcpy to Tail predicated Loop

This patch converts llvm.memcpy intrinsic into Tail Predicated
Hardware loops for a target that supports the Arm M-profile
Vector Extension (MVE).

From an implementation point of view, the patch

- adds an ARM specific SDAG Node (to which the llvm.memcpy intrinsic is lowered to, during first phase of ISel)
- adds a corresponding TableGen entry to generate a pseudo instruction, with a custom inserter,
  on matching the above node.
- Adds a custom inserter function that expands the pseudo instruction into MIR suitable
   to be (by later passes) into a WLSTP loop.

Note: A cli option is used to control the conversion of memcpy to TP
loop and this option is currently disabled by default. It may be enabled
in the future after further downstream testing.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D99723
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-tp-loop.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/memcall.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-tp-loop.mir
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
Commit 65cd0d6be47730cefdd5be26c12f02ec59b4d08e by andrzej.warzynski
[flang] Remove `%f18` from LIT configuration files

`%f18` was originally introduced to represent the old Flang driver,
`f18`. With the introduction of the new driver, `flang-new`, we have
been switching to `%flang` (compiler driver) and `%flang_fc1` (frontend
driver) as more generic alternatives.

As most tests have been portend to use the new LIT variables instead of
`%f18`, this is good time to remove it from lit.cfg.py. There's only one
test left that requires the old driver to run. It's updated with:
```
! REQUIRES: old-flang-driver
```
This way we preserve its semantics while reducing the number of
variables in LIT configuration.

Differential Revision: https://reviews.llvm.org/D101281
The file was modifiedflang/test/Driver/help-f18.f90
The file was modifiedflang/test/lit.cfg.py
Commit 7c706af03b8634f1f2a64599037580e5f4785082 by jay.foad
[AMDGPU] SIFoldOperands: clean up tryConstantFoldOp

First clean up the strange API of tryConstantFoldOp where it took an
immediate operand value, but no indication of which operand it was the
value for.

Second clean up the loop that calls tryConstantFoldOp so that it does
not have to restart from the beginning every time it folds an
instruction.

This is NFCI but there are some minor changes caused by the order in
which things are folded.

Differential Revision: https://reviews.llvm.org/D100031
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
Commit a437befa8f8580b3b4f2226b208a05da078c8b20 by marek.kurdej+llvm.org
[clang-format] Add more support for C# 8 nullables

This adds support for the null-coalescing assignment and null-forgiving
operators.

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-coalescing-operator

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving

Reviewed By: krasimir, curdeius

Differential Revision: https://reviews.llvm.org/D101702
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.h
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp