FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [PowerPC][Power10] Implement VSX PCV Generate Operations in LLVM/Clang (details)
  2. Distinguish between template parameter substitutions that are forming (details)
  3. [mlir][mlir-rocm-runner] Remove compile-time warning. NFC. (details)
  4. Fix a corner case in vector.shape_cast when the trailing dimensions are of size 1. (details)
  5. Fix rejects-valid when referencing an implicit operator== from within a (details)
Commit 19df9e2959cfa3f25d798bd842df798e2b75f1b2 by amy.kwan1
[PowerPC][Power10] Implement VSX PCV Generate Operations in LLVM/Clang

This patch implements builtins for the following prototypes for the VSX Permute
Control Vector Generate with Mask Instructions:

vector unsigned char vec_genpcvm (vector unsigned char, const int);
vector unsigned short vec_genpcvm (vector unsigned short, const int);
vector unsigned int vec_genpcvm (vector unsigned int, const int);
vector unsigned long long vec_genpcvm (vector unsigned long long, const int);

Differential Revision: https://reviews.llvm.org/D81774
The file was modifiedllvm/test/MC/Disassembler/PowerPC/p10insts.txt
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
The file was modifiedllvm/test/MC/PowerPC/p10.s
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was addedllvm/test/CodeGen/PowerPC/p10-vsx-pcv.ll
The file was modifiedclang/lib/Headers/altivec.h
Commit 9f9373f86d2d13b8c9f106863ce70ace69abf388 by richard
Distinguish between template parameter substitutions that are forming
specializations and those that are done as part of rewrites.

Do not create Subst* nodes in the latter. We previously had a hybrid of
these two behaviors where we would only create some Subst* nodes but not
others during deduction guide rewrites.

No functional change intended, but the resulting ASTs are more
principled.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/test/SemaTemplate/deduction-guide.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit b7c4912996d65d54e129feed7bd44c7aa0ece508 by whchung
[mlir][mlir-rocm-runner] Remove compile-time warning. NFC.

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D82333
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
Commit 6bb4fc93c2fd7f63c7ed430928d1b85bfd4b3d79 by whchung
Fix a corner case in vector.shape_cast when the trailing dimensions are of size 1.

Differential Revision: https://reviews.llvm.org/D82304
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit 2a3b86c157166f3b15f718443334ab0e27b40592 by richard
Fix rejects-valid when referencing an implicit operator== from within a
templated class.

When a defaulted operator<=> results in the injection of a defaulted
operator==, that operator== can be named by unqualified name within the
same class, even if the class is templated. To make this work, perform
the transform from defaulted operator<=> to defaulted operator== in the
template definition context instead of the template instantiation
context.

This results in our substituting into a declaration from a context where
we don't have a full list of template arguments (or indeed any), for
which we are now more careful to not spuriously instantiate declarations
that are not dependent on the arguments we're substituting.
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/PCH/cxx2a-defaulted-comparison.cpp
The file was addedclang/test/SemaTemplate/defaulted.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp