SuccessChanges

Summary

  1. BuildVectorType with a dependent (array) type is crashing the compiler  - Fix for PR-47542 (details)
  2. [RegisterCoalescer] Pass Undefs to extendToIndices() (details)
  3. [clang] Update warning-wall.c test (details)
  4. Ensure that we don't compute linkage for an anonymous class too early if (details)
  5. [gn build] Port 54d9f743c8b (details)
Commit efd04721c9a2a856dd47e47a08c42d21efd5dd2b by rnk
BuildVectorType with a dependent (array) type is crashing the compiler  - Fix for PR-47542

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88150
The file was modifiedclang/test/SemaCXX/attr-gnu.cpp (diff)
The file was modifiedclang/lib/Sema/SemaType.cpp (diff)
Commit 73805329baa0f5c463b70d16f18555365d3a020e by ruiling.song
[RegisterCoalescer] Pass Undefs to extendToIndices()

When extending the subranges, the reaching-def may be an undefs. When
extending such kind of subrange, it will try to search for the reaching
def first. If the reaching def is an undef and we did not provide 'Undefs',
The findReachingDefs() will fail with message:
"Use of $noreg does not have a corresponding definition on every path:
LLVM ERROR: Use not jointly dominated by defs."
So we computeSubRangeUndefs() and pass the result to extendToIndices().

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D87744
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/coalescer-removepartial-extend-undef-subrange.mir
Commit 6fd8c69049a8fc119278097be6d0bdc3e781f1ba by Jan Korous
[clang] Update warning-wall.c test

Follow-up to 1e86d637eb4f:
[clang] Selectively ena/disa-ble format-insufficient-args warning
The file was modifiedclang/test/Misc/warning-wall.c (diff)
Commit c375635d05f6f10c7c95ecc74a0569213d176d8e by richard
Ensure that we don't compute linkage for an anonymous class too early if
it has a member whose name is the same as a builtin.

Fixes a regression from the introduction of BuiltinAttr.
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/anonymous-struct.cpp (diff)
Commit 727c4223d714eb220ed65a9244c1cc499d0cd461 by llvmgnsyncbot
[gn build] Port 54d9f743c8b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/BUILD.gn (diff)