SuccessChanges

Summary

  1. [mlir] [VectorOps] Multi-dim reductions for lowering vector.contract (details)
  2. [mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>' (details)
  3. [lldb/Plugin] Don't mark ProcessNetBSD as a plugin (details)
  4. Revert "[Driver] Escape the program path for -frecord-command-line" (details)
  5. [mlir][Parser] Update DenseElementsAttr to print in hex when the number of elements is over a certain threshold. (details)
  6. [lldb/Test] Remove stale README in test/API (details)
  7. [libc++] Explain XFAILs with std::uncaught_exceptions test (details)
  8. [X86] Custom legalize v1i1 add/sub/mul to xor/xor/and with avx512. (details)
  9. [X86] Fix a couple copy mistakes in v4i1 or/and/xor isel patterns. (details)
  10. [X86] Custom legalize v1i1 UADDSAT/USUBSAT/SADDSAT/UADDSAT to match v2i1/v4i1/v8i1 etc. (details)
  11. [X86] Expand vselect of v1i1 under avx512. (details)
  12. [X86] Add CMOV_VK1 pseudo so we don't crash on v1i1 ISD::SELECT (details)
  13. [libc++][regex] Validate backreferences in the constructor. (details)
  14. [libunwind][CMake] Treat S files as C to work around CMake bug. (details)
Commit ee260c1a0f1c0a8fd1179cdab9fb4312086dcc54 by ajcbik
[mlir] [VectorOps] Multi-dim reductions for lowering vector.contract

Summary:
This implements the last step for lowering vector.contract progressively
to LLVM IR (except for masks). Multi-dimensional reductions that remain
after expanding all parallel dimensions are lowered into into simpler
vector.contract operations until a trivial 1-dim reduction remains.

Reviewers: nicolasvasilache, andydavis1

Reviewed By: andydavis1

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74880
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/VectorOps/vector-contract-transforms.mlir
Commit 6d60d8695d2066c9ef9360603c88ce938ca65491 by riddleriver
[mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>'

This fixes test failures caused by a change to the name of the main
dylib, now called 'main'. It also hardens the engine against potential
future changes to the name.
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 3ee281082737d18585abff3b482a7ab86af73b5a by Jonas Devlieghere
[lldb/Plugin] Don't mark ProcessNetBSD as a plugin

ProcessNetBSD has no initializers so it's just a regular library and
shouldn't have the PLUGIN argument in add_lldb_library.
The file was modifiedlldb/source/Plugins/Process/NetBSD/CMakeLists.txt
Commit 577d9ce35532439203411c999deefc9c80e04c69 by scott.linder
Revert "[Driver] Escape the program path for -frecord-command-line"

This reverts commit 6123074d0c0de3614f1552f2f2d6b9db7b32cebe.

Quoting/escaping rules seem host specific, so the test is failing on
some bots.
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 51bf5d3cc19ac113de2ff185fb5bc2b99b8d89bc by riddleriver
[mlir][Parser] Update DenseElementsAttr to print in hex when the number of elements is over a certain threshold.

Summary: DenseElementsAttr is used to store tensor data, which in some cases can become extremely large(100s of mb). In these cases it is much more efficient to format the data as a string of hex values instead.

Differential Revision: https://reviews.llvm.org/D74922
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was addedmlir/test/IR/dense-elements-hex.mlir
The file was modifiedmlir/lib/IR/Attributes.cpp
Commit 0d19b016226dc2c442a34abfe9b9c06ab4d7ea1e by Jonas Devlieghere
[lldb/Test] Remove stale README in test/API

Now that the test live in the same directory the README is no longer
relevant.
The file was removedlldb/test/API/README.md
Commit 07c559caef967cda9812ab7b6ab94c20748e6ac9 by Louis Dionne
[libc++] Explain XFAILs with std::uncaught_exceptions test
The file was modifiedlibcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
Commit d95a10a7f976188e4ffec77d82000afc53a6d39a by craig.topper
[X86] Custom legalize v1i1 add/sub/mul to xor/xor/and with avx512.

We already did this for v2i1, v4i1, v8i1, etc.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
Commit 5228a5544b2c887dab3aede7baf818ca4244141e by craig.topper
[X86] Fix a couple copy mistakes in v4i1 or/and/xor isel patterns.

VK1 was being used as the output of the copy to regclass, but it
should be VK2/VK4. Shouldn't matter in practice though since
VK1/VK2/VK4/VK8/VK16 are all identicaly and just have different VTs.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit b00ef8951b52451eb31f9e41848246c8fb17a2bb by craig.topper
[X86] Custom legalize v1i1 UADDSAT/USUBSAT/SADDSAT/UADDSAT to match v2i1/v4i1/v8i1 etc.
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e927698621f476e698eea14e6954057c81ccf4b by craig.topper
[X86] Expand vselect of v1i1 under avx512.

We already do this for v2i1, v4i1, etc.
The file was modifiedllvm/test/CodeGen/X86/avx512-select.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e5782377f3f6184abc73a7098c9a0cea0a93350f by craig.topper
[X86] Add CMOV_VK1 pseudo so we don't crash on v1i1 ISD::SELECT
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/test/CodeGen/X86/avx512-select.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 72ce0c8073bc8dfa109d25a3c5f245ee0285568c by Louis Dionne
[libc++][regex] Validate backreferences in the constructor.

This patch enables throwing exceptions for invalid backreferences
in the constructor when using the basic, extended,  grep, or egrep grammar.

This fixes bug 34297.

Differential Revision: https://reviews.llvm.org/D62453
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp
Commit d4ded05ba851304b26a437896bc3962ef56f62cb by bigcheesegs
[libunwind][CMake] Treat S files as C to work around CMake bug.

The OSX_ARCHITECTURES property is supposed to add the -arch flag when
targeting Apple platforms. However, due to a bug in CMake
(https://github.com/Kitware/CMake/blob/master/Source/cmLocalGenerator.cxx#L1780),
this does not apply to assembly files. This results in a linker error
when trying to build libunwind for i386 on MacOS.

rdar://59642189
The file was modifiedlibunwind/src/CMakeLists.txt