SuccessChanges

Summary

  1. [X86] Fix tile spill merge issue. (details)
  2. PR48763: Better handling for classes that inherit a default constructor. (details)
  3. [PowerPC] Sign extend comparison operand for signed atomic comparisons (details)
  4. [X86][AMX] Clear AMX lit test case. (details)
Commit c535a7fdadb4679327ebb1b3b82c73c9ff6a164a by yuanke.luo
[X86] Fix tile spill merge issue.

This is a additional bug fix for c5be0e0cc0. The distance for
the spill instructions is wrong in previous patch.

Differential Revision: https://reviews.llvm.org/D94772
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill-merge.ll
Commit bc713f6a004723d1325bc16e1efc32d0ac82f939 by richard
PR48763: Better handling for classes that inherit a default constructor.

The C++ standard wording doesn't appear to properly handle the case
where a class inherits a default constructor from a base class. Various
properties of classes are defined in terms of the corresponding property
of the default constructor, and in this case, the class does not have a
default constructor despite being default-constructible, which the
wording doesn't handle properly.

This change implements a tentative fix for these problems, which has
also been proposed to the C++ committee: if a class would inherit a
default constructor, and does not explicitly declare one, then one is
implicitly declared.
The file was modifiedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def
The file was modifiedclang/test/CXX/special/class.inhctor/p1.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/test/CXX/special/class.ctor/p6-0x.cpp
The file was modifiedclang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p15.cpp
The file was modifiedclang/test/CXX/special/class.inhctor/p2.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
Commit 61f69153e8dd7956d03ce46e30257c5bb3e41873 by nemanja.i.ibm
[PowerPC] Sign extend comparison operand for signed atomic comparisons

As of 8dacca943af8a53a23b1caf3142d10fb4a77b645, we sign extend the atomic loaded
operand for signed subword comparisons. However, the assumption that the other
operand is correctly sign extended doesn't always hold. This patch sign extends
the other operand if it needs to be sign extended.

This is a second fix for https://bugs.llvm.org/show_bug.cgi?id=30451

Differential revision: https://reviews.llvm.org/D94058
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-regression.ll
The file was addedllvm/test/CodeGen/PowerPC/sign-ext-atomics.ll
Commit e147eccafa157668c9cd0eb26f0042ad82425874 by yuanke.luo
[X86][AMX] Clear AMX lit test case.

Add nounwind attribute to avoid generating cfi instructions. Also make
global buffer 64 bytes align in lit test case.

Differential Revision: https://reviews.llvm.org/D94910
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-config.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-intrinsic-chain.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-type.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill-merge.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-across-func.ll