FailedChanges

Summary

  1. [PowerPC] Pass nofpexcept flag to custom lowered constrained ops (details)
  2. [c++20] For P1907R1: Add checking for structural types for non-type (details)
  3. [lld-macho] Mark weak symbols in symbol table (details)
  4. [lld-macho] Export trie addresses should be relative to the image base (details)
Commit 1d782c29872ce3dcc4b64bfde97e197e9042fbfb by qiucofan
[PowerPC] Pass nofpexcept flag to custom lowered constrained ops

This is a follow-up of D86605. For strict DAG FP node, if its FP
exception behavior metadata is ignore, it should have nofpexcept flag.
But during custom lowering, this flag isn't passed down.

This is also seen on X86 target.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D87390
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-conv.ll
Commit 0cd73dbe2c0d169ec2cdd9a8264f4ee1695b53b7 by richard
[c++20] For P1907R1: Add checking for structural types for non-type
template parameters.

No support for the new kinds of non-type template argument yet.

This is not entirely NFC for prior language modes: we have historically
incorrectly accepted rvalue references as the types of non-type template
parameters. Such invalid code is now rejected.
The file was modifiedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/Type.cpp
The file was addedclang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/SemaCXX/invalid-template-params.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p7.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
Commit 0a7e56f74c2adde9a4bc2c1163e7ed3aff984584 by jezng
[lld-macho] Mark weak symbols in symbol table

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D86908
The file was modifiedlld/test/MachO/symtab.s
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit abd70fb3983f342bc1c90f9c70a7b59790ad5206 by jezng
[lld-macho] Export trie addresses should be relative to the image base

We didn't notice this earlier this we were only testing the export trie
encoded in a dylib, whose image base starts at zero. But a regular
executable contains `__PAGEZERO`, which means it has a non-zero image
base. This bug was discovered after attempting to run some programs that
performed `dlopen` on an executable.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87780
The file was modifiedlld/MachO/ExportTrie.h
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/test/MachO/export-trie.s
The file was modifiedlld/MachO/ExportTrie.cpp