FailedChanges

Summary

  1. [flang] Use CFI_TYPE_LAST instead of CFI_type_struct (details)
  2. [flang] Fix handling of elem_len in CFI_establish (details)
  3. [flang] Fix a bug in the character runtime (details)
  4. [AMDGPU] Do not annotate features for graphics (details)
  5. [libc] warns about missing linting only in full build mode (details)
  6. [doc] typo fixes (details)
  7. [mlir] Allow lowering cmpi/cmpf with multidimensional vectors to LLVM (details)
  8. [RISCV] Add support for fmin/fmax vector reductions (details)
  9. [clang-tidy][NFC] Short circuit getting enum options suggestions. (details)
  10. [ARM] Memory operands for MVE gathers/scatters (details)
  11. Support AArch64 PAC elf-core register read (details)
  12. [clang] Remove libstdc++ friend template hack (details)
Commit 32f901bdf9b59a1cf43946ac7bb6c9382bc69600 by diana.picus
[flang] Use CFI_TYPE_LAST instead of CFI_type_struct

It looks like CFI_type_struct was once used as the last valid CFI_type
value, but in the meantime CFI_type_char16_t and CFI_type_char32_t were
added, making that assumption no longer true. Luckily, in the meantime
we also got a define for CFI_TYPE_LAST, which we can now use to allow
CFI_establish and CFI_allocate to work with descriptors of
CFI_type_char16_t, CFI_type_char32_t and any other future types.

Differential Revision: https://reviews.llvm.org/D101658
The file was modifiedflang/runtime/ISO_Fortran_binding.cpp
The file was modifiedflang/unittests/Evaluate/ISO-Fortran-binding.cpp
Commit aaab70407beb9526722b04ae3dd14def4eaab540 by diana.picus
[flang] Fix handling of elem_len in CFI_establish

The current code computes the minimum element length based on the `type`
used to create the descriptor and uses that as the element length
whenever it is greater than 0. This means that the `elem_len` parameter
is essentially ignored for any type where we can compute a minimum
element length (which includes `CFI_type_char[16|32]_t`), and we may
therefore end up with descriptors with a lower element length than
expected.

This patch fixes the issue by explicitly doing what the standard says,
i.e. it uses the given `elem_len` for character types, `CFI_type_struct`
and `CFI_type_other`, and ignores it (falls back to the minimum element
length) for everything else.

Differential Revision: https://reviews.llvm.org/D101659
The file was modifiedflang/runtime/ISO_Fortran_binding.cpp
The file was modifiedflang/unittests/Evaluate/ISO-Fortran-binding.cpp
Commit 5112bd6b6e10b27b81aa83cfdbe3588973a6f1f5 by diana.picus
[flang] Fix a bug in the character runtime

The number of bytes copied in CopyAndPad should depend on the size of
the type being copied, not on its shift value (which in the case of char
is 0, leading to no bytes at all being copied).

Add unit tests for CharacterMin and CharacterMax, which exercise this
code path.

Differential Revision: https://reviews.llvm.org/D101355
The file was modifiedflang/runtime/character.cpp
The file was modifiedflang/unittests/RuntimeGTest/CharacterTest.cpp
Commit c0c8548b70685533da46d9453eac9f3cfb22ccc6 by sebastian.neubauer
[AMDGPU] Do not annotate features for graphics

SITargetLowering::LowerFormalArguments asserts that none of these
features are used for graphics calling conventions, so
AnnotateKernelFeatures should not add them.

Differential Revision: https://reviews.llvm.org/D101534
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
The file was addedllvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll
Commit 0e97e84a6588ca21d93037969c24c82f19698986 by gchatelet
[libc] warns about missing linting only in full build mode

Differential Revision: https://reviews.llvm.org/D101609
The file was modifiedlibc/CMakeLists.txt
Commit 91607dce615a7837cd094247aa4620cad95f741c by kuhnel
[doc] typo fixes

as proposed by @FlashSheridan in
https://reviews.llvm.org/rG7f9717b922d4
The file was modifiedllvm/docs/DeveloperPolicy.rst
Commit cdeb4a8a6430941563c9f04d178d4c5211164aa3 by benny.kra
[mlir] Allow lowering cmpi/cmpf with multidimensional vectors to LLVM

Differential Revision: https://reviews.llvm.org/D101535
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit d23e4f6872c6c19c210efa9fcd19e43942ddf465 by fraser
[RISCV] Add support for fmin/fmax vector reductions

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101518
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
Commit 53df522a0c536d32a60c0ed571097a78ce2541a7 by n.james93
[clang-tidy][NFC] Short circuit getting enum options suggestions.

Use the MaxEditDistance to skip checking candidates we know we'll skip.
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Commit d1bbe61d1c96c12f890db7b37435f1dce092cc36 by david.green
[ARM] Memory operands for MVE gathers/scatters

Similarly to D101096, this makes sure that MMO operands get propagated
through from MVE gathers/scatters to the Machine Instructions. This
allows extra scheduling freedom, not forcing the instructions to act as
scheduling barriers. We create MMO's with an unknown size, specifying
that they can load from anywhere in memory, similar to the masked_gather
or X86 intrinsics.

Differential Revision: https://reviews.llvm.org/D101219
The file was modifiedllvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-gatherscatter-mmo.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
Commit 69a3269250715e31ec49be94065c1c8787a3d305 by omair.javaid
Support AArch64 PAC elf-core register read

This adds support for reading AArch64 Pointer Authentication regset
from elf-core file. Also includes a test-case for the same. Furthermore
there is also a slight refactoring of RegisterContextPOSIXCore_arm64
members and constructor. linux-aarch64-pac.core file is generated using
lldb/test/API/functionalities/postmortem/elf-core/main.c with following
clang arguments:
-march=armv8.5-a -mbranch-protection=pac-ret+leaf -nostdlib -static -g

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D99941
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
The file was addedlldb/test/API/functionalities/postmortem/elf-core/linux-aarch64-pac.core
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterUtilities.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h
The file was modifiedlldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
Commit fe4c9b3cb0c3c0cac6b63de3b47a86e31559bb6d by nathan
[clang] Remove libstdc++ friend template hack

this hack is for a now-unsupported version of libstdc++

Differential Revision: https://reviews.llvm.org/D101392
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaCXX/libstdcxx_map_base_hack.cpp