Jenkins is going to shut down

Changes

Summary

  1. [TableGen] [Clang] Clean up Options.td and add asserts. (details)
  2. [PowerPC] Provide some P8-specific altivec overloads for P7 (details)
  3. [AMDGPU] SIInsertHardClauses: move more stuff into the class. NFC. (details)
  4. [lldb][NFC] Make assert in TestStaticVariables more expressive (details)
  5. Revert "[PowerPC] Provide some P8-specific altivec overloads for P7" (details)
  6. [AIX][TLS] Add support for TLSGD relocations to XCOFF objects (details)
  7. [libc++] Rewrite std::to_address to avoid relying on element_type (details)
  8. [OpenMP] Temporarily require X86 target for parallel_for_codegen.cpp test (details)
  9. [AMDGPU][NFC] Fix typos in SIFormMemoryClauses description (details)
  10. [PowerPC] Re-commit ed87f512bb9eb5c1d44e9a1182ffeaf23d6c5ae8 (details)
  11. [mlir][vector] add pattern to cast away lead unit dimension for broadcast op (details)
  12. [mlir][NFC] Fix warning in VectorTransforms.cpp (details)
  13. [lld-macho][nfc] Convert the mock libSystem.tbd to TBDv4 (details)
  14. [lld-macho] Support loading of zippered dylibs (details)
  15. [SLP] Use empty() instead of size() == 0. NFCI. (details)
  16. [SLP] Constify the TreeEntry* input into dumpTreeCosts(). NFCI. (details)
  17. [SLP] Constify the TreeEntry* input into getEntryCost() + setInsertPointAfterBundle(). NFCI. (details)
  18. [AMDGPU] Fix 64 bit DPP validation (details)
  19. [clangd][ObjC] Highlight Objc Ivar refs (details)
  20. [LangRef][VP] Fix typos in VP sdiv/udiv examples (details)
  21. [RISCV] Cleanup instruction formats used for B extension ternary operations. (details)
  22. [SystemZ] Don't use libcall for 128 bit shifts. (details)
  23. Fix array attribute in bindings for linalg.init_tensor (details)
Commit d40a0b8af771f9b37dd2985fc692443c0ac5473e by Paul C. Anagnostopoulos
[TableGen] [Clang] Clean up Options.td and add asserts.

Differential Revision: https://reviews.llvm.org/D101766
The file was modifiedclang/include/clang/Driver/Options.td
Commit ed87f512bb9eb5c1d44e9a1182ffeaf23d6c5ae8 by nemanja.i.ibm
[PowerPC] Provide some P8-specific altivec overloads for P7

This adds additional support for XL compatibility. There are a number
of functions in altivec.h that produce a single instruction (or a
very short sequence) for Power8 but can be done on Power7 without
scalarization. XL provides these implementations.
This patch adds the following overloads for doubleword vectors:
vec_add
vec_cmpeq
vec_cmpgt
vec_cmpge
vec_cmplt
vec_cmple
vec_sl
vec_sr
vec_sra
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/lib/Headers/altivec.h
Commit 9e026273b030d77b5429e31fd2d7ce3ca6b68cd8 by jay.foad
[AMDGPU] SIInsertHardClauses: move more stuff into the class. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
Commit 3026f75ed0f520f9be7ac354406687a549155ded by Raphael Isemann
[lldb][NFC] Make assert in TestStaticVariables more expressive
The file was modifiedlldb/test/API/lang/cpp/class_static/TestStaticVariables.py
Commit 3761b9a2345aff197707d23a68d4a178489f60e4 by thakis
Revert "[PowerPC] Provide some P8-specific altivec overloads for P7"

This reverts commit ed87f512bb9eb5c1d44e9a1182ffeaf23d6c5ae8.
Breaks check-clang, see e.g.
https://lab.llvm.org/buildbot/#/builders/139/builds/3818
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/lib/Headers/altivec.h
Commit bb113b984565b01355a7f6bb4a5fa2eb8284c2e1 by wei.huang
[AIX][TLS] Add support for TLSGD relocations to XCOFF objects

- Add branch absolute reloction R_RBA, R_TLS relocation for the variable offset
  for the tlsgd model and R_TLSM for the region handle for the tlsgd model
- Properly set the relocation fixed values for R_TLS and R_TLSM
- Emit the TCEntry with the variant kind in the XCOFFStreamer

Reviewed by: sfertile, nemanjai, DiggerLin

Differential Revision: https://reviews.llvm.org/D100214
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
Commit fe0e86e6026f79e0b18f877196fbddd1d9e140d8 by Louis Dionne
[libc++] Rewrite std::to_address to avoid relying on element_type

This is a rough reapplication of the change that fixed std::to_address
to avoid relying on element_type (da456167). It is somewhat different
because the fix to avoid breaking Clang (which caused it to be reverted
in 347f69c55) was a bit more involved.

Differential Revision: https://reviews.llvm.org/D101638
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was modifiedlibcxx/include/__memory/pointer_traits.h
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was modifiedlibcxx/include/iterator
Commit e4b790c5e3653053819182a67c593bc65de860ac by david.spickett
[OpenMP] Temporarily require X86 target for parallel_for_codegen.cpp test

Since https://reviews.llvm.org/D101849 this test has been failing
on bots that only enable either Arm or AArch64 targets.

See: https://lab.llvm.org/buildbot/#/builders/107/builds/7601

Temporarily requires X86 for this test while the difference is figured out.
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
Commit 172d746e167b958e80dfae7c113bfb44b974f7c6 by Austin.Kerbow
[AMDGPU][NFC] Fix typos in SIFormMemoryClauses description

NFC.
The file was modifiedllvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
Commit 1faf3b195e71dbc469d658d450949439dbf92f9f by nemanja.i.ibm
[PowerPC] Re-commit ed87f512bb9eb5c1d44e9a1182ffeaf23d6c5ae8

This was reverted in 3761b9a2345aff197707d23a68d4a178489f60e4 just
as I was about to commit the fix. This patch inlcudes the
necessary fix.
The file was modifiedclang/lib/Headers/altivec.h
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGen/builtins-ppc-p8vector.c
Commit 0b303da6f821dcbcb3f72135b2431aaf94045839 by thomasraoux
[mlir][vector] add pattern to cast away lead unit dimension for broadcast op

Differential Revision: https://reviews.llvm.org/D101955
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/Vector/vector-transforms.mlir
Commit 933551eaeb08d42d7891c8fbb67cb805e24f9727 by thomasraoux
[mlir][NFC] Fix warning in VectorTransforms.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit 7654d8e1a96cb9dda0318ff5489c17f3780f1944 by jezng
[lld-macho][nfc] Convert the mock libSystem.tbd to TBDv4

It doesn't seem like TBDv3 allows for specifying multiple platforms, so I'm
upgrading us to TBDv4. (We need to support multiple platforms in order to test
that we can handle zippered dylibs; that functionality will be added in an
upcoming diff.)

Differential Revision: https://reviews.llvm.org/D101953
The file was modifiedlld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
Commit 9260760235261a5cd150b15a3499f7988da65a02 by jezng
[lld-macho] Support loading of zippered dylibs

ld64 can emit dylibs that support more than one platform (typically macOS and
macCatalyst). This diff allows LLD to read in those dylibs. Note that this is a
super bare-bones implementation -- in particular, I haven't added support for
LLD to emit those multi-platform dylibs, nor have I added a variety of
validation checks that ld64 does. Until we have a use-case for emitting zippered
dylibs, I think this is good enough.

Fixes PR49597.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D101954
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
The file was addedlld/test/MachO/zippered.yaml
The file was modifiedlld/MachO/InputFiles.h
Commit 1b47489fd0e1c3ddbeabb421b668b7bc623fd622 by llvm-dev
[SLP] Use empty() instead of size() == 0. NFCI.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 2dab05902112042eb4cc2cd16adfbe0a9127c0af by llvm-dev
[SLP] Constify the TreeEntry* input into dumpTreeCosts(). NFCI.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 338c1b701f23888eed67ca7e3214db175940df21 by llvm-dev
[SLP] Constify the TreeEntry* input into getEntryCost() + setInsertPointAfterBundle(). NFCI.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 28f1d018b1c241968d3f426d81c6973b5cae7bcf by Stanislav.Mekhanoshin
[AMDGPU] Fix 64 bit DPP validation

AMDGPUAsmParser::isSupportedDPPCtrl() was failing to correctly
find a DPP register operand, regadless of the position it is
always src0. Moved this check into a new validateDPP() method
where we have full instruction already. In particular it was
failing to reject this case:

v_cvt_u32_f64 v5, v[0:1] quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf

Essentially it was broken for any case where size of dst and
src0 differ.

It also improves the diagnostics with a proper error message.

The check in the InstPrinter also drops verification of the dst
register as it does not have anything to do with the dpp operand.

Differential Revision: https://reviews.llvm.org/D101930
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx90a_err.s
The file was modifiedllvm/test/MC/AMDGPU/gfx9-asm-err.s
Commit 159dd447fe98f558879343d660b5bfe90779609f by davg
[clangd][ObjC] Highlight Objc Ivar refs

Treat them just like we do for properties - as a `property` semantic
token although ideally we could differentiate the two.

Differential Revision: https://reviews.llvm.org/D101785
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 2e0ee68dc85c0a2b7e65e489a60ab363393b06a8 by fraser
[LangRef][VP] Fix typos in VP sdiv/udiv examples
The file was modifiedllvm/docs/LangRef.rst
Commit 58323be415ce0713fdd959edeab788252118c533 by craig.topper
[RISCV] Cleanup instruction formats used for B extension ternary operations.

Rename RVInstR4 as used by F/D/Zfh extensions to RVInstR4Frm.
Introduce new RVInstR4 that takes funct3 as a parameter.

Add new format classes for FSRI and FSRIW instead of trying to
bend RVInstR4 to use a shamt overlayed on rs2 and funct2.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D100427
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoD.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoF.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrFormats.td
Commit 1c4cb510b4daccc0f4763958567affc2b442f317 by paulsson
[SystemZ] Don't use libcall for 128 bit shifts.

Expand 128 bit shifts instead of using a libcall.

This patch removes the 128 bit shift libcalls and thereby causes
ExpandShiftWithUnknownAmountBit() to be called.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D101993
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/shift-12.ll
Commit 1f109f9d9cddbc90d97b50c154a8474e7e623356 by zinenko
Fix array attribute in bindings for linalg.init_tensor

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D101998
The file was modifiedmlir/test/python/dialects/linalg/ops.py
The file was modifiedmlir/python/mlir/dialects/_linalg_ops_ext.py