SuccessChanges

Summary

  1. [VPlan] Add VPUserID to distinguish between recipes and others. (details)
  2. [RISCV] Fix operand order in fixed-length VM(OR|AND)NOT patterns (details)
  3. [lldb][NFC] Cleanup IRForTarget member initializers (details)
  4. Update MSVC version number in preprocessor check (details)
  5. [CodeGen] Avoid unused variable warning in Release builds. NFCI. (details)
  6. [AMDGPU] Fix typo in comment (details)
  7. [mlir] Add folder for complex.ReOp and complex.ImOp. (details)
  8. [lit] Stop using PATH to lookup clang/lld/lldb unless requested (details)
  9. [lld] Add a feature for each lld variant when use_lld is called (details)
  10. [OpenCL] Fix initialization of __constant constructors without arguments (details)
  11. [mlir][Linalg] Drop spuriously long matmul_column_major benchmark (details)
Commit cc1a6361d34e270b407f91a6e2e76c7fb324ee2d by flo
[VPlan] Add VPUserID to distinguish between recipes and others.

This allows cast/dyn_cast'ing from VPUser to recipes. This is needed
because there are VPUsers that are not recipes.

Reviewed By: gilr, a.elovikov

Differential Revision: https://reviews.llvm.org/D100257
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
Commit 175bdf127d5bb09c81fbd3dc1e766e4ef26793d0 by fraser
[RISCV] Fix operand order in fixed-length VM(OR|AND)NOT patterns

Where the RVV specification writes `vs2, vs1`, our TableGen patterns use
`rs1, rs2`. These differences can easily cause confusion. The VMANDNOT
instruction performs `LHS && !RHS`, and similarly for VMORNOT.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D102606
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-int.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-logic.ll
Commit d017d12f126ee9045f58f9300078d805e3bcc763 by Raphael Isemann
[lldb][NFC] Cleanup IRForTarget member initializers

Note that the FunctionCallee members aren't pointer, so the nullptr was just
an alternative way to call the default constructor.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
Commit e89b60fcfc7ff776e93a94a54421850cc104a6df by david.spickett
Update MSVC version number in preprocessor check

Passing template parameter packs to std::map doesn't work in VS 2017/2019, so this updates the preprocessor version check to use an alternate version in VS2019, as well.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D102260
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
Commit 3f3642a7631e28e44c248a46703e381d389958a1 by benny.kra
[CodeGen] Avoid unused variable warning in Release builds. NFCI.
The file was modifiedclang/lib/CodeGen/CGCleanup.cpp
Commit 092a3ce5699e5e2ddeb7b640bab0a70db73040d8 by jay.foad
[AMDGPU] Fix typo in comment
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
Commit fa765a09440253fd16e92376b4cf132873afe84e by akuegel
[mlir] Add folder for complex.ReOp and complex.ImOp.

Now that complex constants are supported, we can also fold.

Differential Revision: https://reviews.llvm.org/D102616
The file was modifiedmlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
The file was addedmlir/test/Dialect/Complex/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Complex/IR/ComplexOps.cpp
Commit a1e6565855784988aa6302d6672705baf2a84ff2 by james.henderson
[lit] Stop using PATH to lookup clang/lld/lldb unless requested

This patch stops lit from looking on the PATH for clang, lld and other
users of use_llvm_tool (currently only the debuginfo-tests) unless the
call explicitly requests to opt into using the PATH. When not opting in,
tests will only look in the build directory.

See the mailing list thread starting from
https://lists.llvm.org/pipermail/llvm-dev/2021-May/150421.html.

See the review for details of why decisions were made about when still
to use the PATH.

Reviewed by: thopre

Differential Revision: https://reviews.llvm.org/D102630
The file was modifiedlldb/test/Shell/helper/toolchain.py
The file was modifiedllvm/utils/lit/lit/llvm/config.py
Commit 20e1577d13ce8622b1ef709f7bc1c397df98e7e2 by james.henderson
[lld] Add a feature for each lld variant when use_lld is called

This allows tests to detect whether to run or not, dependent on which
LLD version is required for the test.

Reviewed by: thopre

Differential Revision: https://reviews.llvm.org/D101997
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld64.lld.txt
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld.lld
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld.lld.exe
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld.lld.txt
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld64.lld.exe
The file was addedllvm/utils/lit/tests/Inputs/lld-features/wasm-ld
The file was addedllvm/utils/lit/tests/Inputs/lld-features/ld64.lld
The file was addedllvm/utils/lit/tests/Inputs/lld-features/lld-link.exe
The file was addedllvm/utils/lit/tests/Inputs/lld-features/lit.cfg
The file was addedllvm/utils/lit/tests/lld-features.py
The file was modifiedllvm/utils/lit/lit/llvm/config.py
The file was addedllvm/utils/lit/tests/Inputs/lld-features/wasm-ld.exe
The file was addedllvm/utils/lit/tests/Inputs/lld-features/wasm-ld.txt
The file was addedllvm/utils/lit/tests/Inputs/lld-features/lld-link
The file was addedllvm/utils/lit/tests/Inputs/lld-features/lld-link.txt
Commit 642d2f000b26821010793ea1ea6a38a6695fc864 by olemarius.strohm
[OpenCL] Fix initialization of __constant constructors without arguments

This fixes the initialization of objects in the __constant
address space that occurs when declaring the object.

Fixes part of PR42566

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D102248
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
The file was addedclang/test/CodeGenOpenCLCXX/addrspace-constructors.clcpp
Commit f8dbd61074176bae92ec360a093ac7bc498c9321 by nicolas.vasilache
[mlir][Linalg] Drop spuriously long matmul_column_major benchmark
The file was removedmlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul_column_major.mlir